Rabat  -  The derailment, last Wednesday, of a Casablanca-Fez train at the entrance of the Zenata rail station (near Casablanca) was caused by a "human error", Morocco's railway company (ONCF) said Saturday.