Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 108.6 kB / 16.41 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 189.5 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.12 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6909/0.6922, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004754/0.697, allocations: 3.298 MB / 1.171 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001043/0.6971, allocations: 47.81 kB / 1.171 GB, free: 488 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.6971, allocations: 0 / 1.171 GB, free: 488 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.6972, allocations: 7.984 kB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.549e-05/0.6973, allocations: 11.92 kB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.698, allocations: 192.7 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.207e-05/0.6981, allocations: 39.78 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.6982, allocations: 4 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.6982, allocations: 11.98 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.968e-05/0.6983, allocations: 11.98 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.6983, allocations: 0 / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003979/0.6987, allocations: 171.6 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.6988, allocations: 23.91 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.6988, allocations: 4 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.6992, allocations: 131.2 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6992, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6992, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.6992, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 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.0004493/0.6997, allocations: 348.3 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.6997, allocations: 16.91 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.6998, allocations: 0.9375 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.6999, allocations: 164.4 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.7, allocations: 30.27 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.7, allocations: 384 / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.7001, allocations: 41.62 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.7002, allocations: 3.938 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.7002, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.7002, allocations: 12 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.682e-05/0.7003, allocations: 11.98 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.7009, allocations: 0.5949 MB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.457e-05/0.7009, allocations: 18.58 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.701, allocations: 4.859 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.7012, allocations: 352.3 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.7012, allocations: 38.5 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.7012, allocations: 0 / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.7014, allocations: 33.7 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.7014, allocations: 55.41 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.766e-05/0.7015, allocations: 101.8 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.7015, allocations: 25.7 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.7016, allocations: 88.09 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.421e-06/0.7016, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.7016, allocations: 25.66 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.7018, allocations: 314.9 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.7018, allocations: 8 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.7018, allocations: 21.66 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.7019, allocations: 17.7 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7019, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.874e-05/0.7019, allocations: 53.62 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.702, allocations: 6.719 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.702, allocations: 4 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.702, allocations: 288 / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.565e-05/0.702, allocations: 4 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.7021, allocations: 4 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.7021, allocations: 0 / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.7021, allocations: 0 / 1.173 GB, free: 13.14 MB / 0.9044 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 6.743e-05/0.7022, allocations: 117.8 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.7022, allocations: 3.984 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.7023, allocations: 124.9 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.76e-05/0.7024, allocations: 176.3 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.1e-05/0.7024, allocations: 105 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.7025, allocations: 194 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.7025, allocations: 176.3 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.7027, allocations: 116.8 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.7028, allocations: 184.2 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.156e-05/0.7028, allocations: 255.5 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001464/0.703, allocations: 387.2 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.63e-05/0.703, allocations: 108.9 kB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.7031, allocations: 87.27 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of Backend: time 3.71e-07/0.7031, allocations: 0 / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004832/0.7036, allocations: 147.3 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005463/0.7041, allocations: 0.864 MB / 1.176 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of Templates: time 0.003456/0.7076, allocations: 1.116 MB / 1.177 GB, free: 8.887 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches