A train derailment at Lilydale in Melbourne’s outer east would not have happened had proper maintenance been carried out, the public transport union says, as contract negotiations between the State Government and Metro Trains continue.