Constraining cosmological models of dark energy