Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002195/0.002195, allocations: 157.7 kB / 22.75 MB, free: 1.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.215/3.215, allocations: 429.6 MB / 0.673 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.395e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00665/0.006684, allocations: 3.226 MB / 0.8807 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001548/0.006838, allocations: 56.86 kB / 0.8808 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.006875, allocations: 0 / 0.8808 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.007018, allocations: 1.594 kB / 0.8808 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.007128, allocations: 19.84 kB / 0.8808 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008581/0.007986, allocations: 193.2 kB / 0.881 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.008089, allocations: 38.31 kB / 0.881 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.008124, allocations: 3.938 kB / 0.881 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.626e-05/0.008201, allocations: 23.97 kB / 0.8811 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.276e-05/0.008293, allocations: 15.92 kB / 0.8811 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.008309, allocations: 0 / 0.8811 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.008698, allocations: 131.5 kB / 0.8812 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.008758, allocations: 12.7 kB / 0.8812 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.008792, allocations: 7.938 kB / 0.8812 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.009165, allocations: 129.3 kB / 0.8814 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.009169, allocations: 0 / 0.8814 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.378e-06/0.009173, allocations: 7.922 kB / 0.8814 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.009178, allocations: 0 / 0.8814 GB, free: 2.645 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005203/0.009698, allocations: 266.2 kB / 0.8816 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.009744, allocations: 13.38 kB / 0.8816 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.464e-05/0.009819, allocations: 0.9375 kB / 0.8816 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.01024, allocations: 109.7 kB / 0.8817 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.01035, allocations: 55.97 kB / 0.8818 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.01037, allocations: 4.375 kB / 0.8818 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.01055, allocations: 71.94 kB / 0.8819 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.01056, allocations: 192 / 0.8819 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.01058, allocations: 7.875 kB / 0.8819 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.01061, allocations: 7.984 kB / 0.8819 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.346e-05/0.01068, allocations: 15.98 kB / 0.8819 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006152/0.01129, allocations: 240.6 kB / 0.8821 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/0.01135, allocations: 18.58 kB / 0.8821 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.01138, allocations: 12.8 kB / 0.8821 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.0115, allocations: 39.97 kB / 0.8822 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.01154, allocations: 30.56 kB / 0.8822 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.01154, allocations: 4 kB / 0.8822 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000196/0.01174, allocations: 37.66 kB / 0.8823 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.01178, allocations: 51.41 kB / 0.8823 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.01191, allocations: 105.8 kB / 0.8824 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.01193, allocations: 25.7 kB / 0.8824 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/0.012, allocations: 88.03 kB / 0.8825 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.01201, allocations: 7.938 kB / 0.8825 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.01206, allocations: 25.83 kB / 0.8825 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.01225, allocations: 310.8 kB / 0.8828 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.01227, allocations: 7.938 kB / 0.8828 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.0123, allocations: 13.72 kB / 0.8829 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.638e-05/0.01234, allocations: 21.7 kB / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01235, allocations: 0 / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001114/0.01246, allocations: 61.52 kB / 0.8829 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.01247, allocations: 4 kB / 0.8829 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01248, allocations: 4.062 kB / 0.8829 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.0125, allocations: 4 kB / 0.883 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.127e-05/0.01256, allocations: 4 kB / 0.883 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.01256, allocations: 0 / 0.883 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.01258, allocations: 0 / 0.883 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.01261, allocations: 8 kB / 0.883 GB, free: 0.8008 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.01272, allocations: 109.8 kB / 0.8831 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.01275, allocations: 7.938 kB / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.0129, allocations: 123.7 kB / 0.8832 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/0.01301, allocations: 176.3 kB / 0.8834 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000114/0.01312, allocations: 188.2 kB / 0.8835 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001277/0.01325, allocations: 184.2 kB / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.01354, allocations: 352.8 kB / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.904e-05/0.01361, allocations: 101 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.901e-05/0.01368, allocations: 109 kB / 0.8843 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.0138, allocations: 188.1 kB / 0.8844 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.01391, allocations: 176.3 kB / 0.8846 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001016/0.01401, allocations: 180.2 kB / 0.8848 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001032/0.01411, allocations: 180.3 kB / 0.8849 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.01434, allocations: 311.8 kB / 0.8852 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.01441, allocations: 112.9 kB / 0.8853 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.01455, allocations: 184.2 kB / 0.8855 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.01473, allocations: 109 kB / 0.8856 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.01484, allocations: 176.3 kB / 0.8858 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/0.0149, allocations: 108.9 kB / 0.8859 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.233e-05/0.01497, allocations: 87.27 kB / 0.886 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01497, allocations: 0 / 0.886 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003281/0.0153, allocations: 39.81 kB / 0.886 GB, free: 13.48 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003899/0.01569, allocations: 230.6 kB / 0.8862 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.027e-05/0.01577, allocations: 11.98 kB / 0.8863 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.01578, allocations: 4 kB / 0.8863 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.937e-06/0.01578, allocations: 3.938 kB / 0.8863 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.01636, allocations: 467.8 kB / 0.8867 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.01671, allocations: 176 kB / 0.8869 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.49e-05/0.01678, allocations: 59.34 kB / 0.8869 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.418e-05/0.01683, allocations: 8 kB / 0.8869 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.01685, allocations: 8.5 kB / 0.8869 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.01685, allocations: 0 / 0.8869 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of Templates: time 0.004666/0.02152, allocations: 1.308 MB / 0.8882 GB, free: 11.23 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.255156234023161]