The University of Melbourne has entered into a 40-year student accommodation agreement with AMP Capital, through its AMP Capital Diversified Infrastructure Trust.