Closed joshua-cogliati-inl closed 7 years ago
The problem is scipy. They changed the scipy.io.loadmat and I think it is related to that. I will check
I have to correct my self.
Strange. I tried to update the libraries and I do not get any failure...
See PR #232. I found the issue. The dtype of np.full is being set to integer in the following line in DymolaInterface.py
:
Data1Array = numpy.full((sizeParams,numOutputPts),1)
This can be avoided by suggesting the datatype more explicitly with:
Data1Array = numpy.full((sizeParams,numOutputPts),1.)
Notice the period enforces that 1 will be treated as a float not an integer.
This review should occur when the issue is imminently going to be closed.
@bobkinl @maljovec does closing this issue warrant an announcement to the Dymola users, or can we push without additional notification?
As @AaronEpiney says this change is not disruptive to the current dymola users, we can merge without notification.
With libraries:
The tests framework/CodeInterfaceTests.DymolaTestTimeDepNoExecutableEnsembleModel and framework/CodeInterfaceTests.DymolaTestNoExecutable fail.
From: https://hpcgitlab.inl.gov/idaholab/raven/issues/826
See also: https://hpcsc.inl.gov/ssl/raven_downloads/test_results/2017_Apr_05//log_Ubuntu_14.04_jjc-ubuntu-14-04-conda