Real Madrid manager Jose Mourinho was booed by the majority of a sparse home crowd before his final match in charge, against Osasuna on Saturday.