A general confrontation between solar data and solar models