Fluctuation relations for dissipative systems in constant external magnetic field: Theory and molecular dynamics simulations