I'm very sorry for doing ~ / I sincerely apologize for doing ~
「すみません」(sumimasen) is appropriate for everyday use. The more formal「申し訳わけありません」(moshiwake arimasen) is used to apologize to the school or teachers for having caused trouble or inconvenience, and it is overly polite for casual daily use.