MAGNETOHYDRODYNAMIC SIMULATION OF THE X2.2 SOLAR FLARE ON 2011 FEBRUARY 15. I. COMPARISON WITH THE OBSERVATIONS