Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.108/2.108, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 188.8 kB / 487.4 MB, free: 5.023 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009327/0.0009327, allocations: 95.78 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.238e-05/1.25e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2252, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9754/1.201, allocations: 352.1 MB / 1.55 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/1.201, allocations: 79.2 kB / 1.55 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.02089/1.222, allocations: 9.095 MB / 1.559 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.132e-06/1.222, allocations: 0 / 1.559 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.729e-06/1.222, allocations: 0 / 1.559 GB, free: 13.61 MB / 0.9792 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.0003369/1.222, allocations: 341.9 kB / 1.559 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/1.222, allocations: 8.031 kB / 1.559 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/1.222, allocations: 0 / 1.559 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/1.223, allocations: 179.9 kB / 1.559 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/1.223, allocations: 25.7 kB / 1.559 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/1.223, allocations: 0 / 1.559 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.52e-05/1.223, allocations: 11.62 kB / 1.559 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.45e-05/1.223, allocations: 37.69 kB / 1.559 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/1.223, allocations: 0 / 1.559 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/1.223, allocations: 0 / 1.559 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/1.223, allocations: 3.984 kB / 1.559 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000678/1.224, allocations: 0.5822 MB / 1.56 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 3.723e-05/1.224, allocations: 22.52 kB / 1.56 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/1.224, allocations: 12.23 kB / 1.56 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/1.224, allocations: 359 kB / 1.56 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/1.224, allocations: 38.55 kB / 1.56 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/1.224, allocations: 0 / 1.56 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.0002236/1.224, allocations: 37.7 kB / 1.56 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/1.224, allocations: 51.41 kB / 1.56 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/1.224, allocations: 100.5 kB / 1.56 GB, free: 11.53 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/1.224, allocations: 25.7 kB / 1.561 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/1.224, allocations: 87.98 kB / 1.561 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/1.224, allocations: 3.438 kB / 1.561 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/1.224, allocations: 3.938 kB / 1.561 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.225, allocations: 326.8 kB / 1.561 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-06/1.225, allocations: 0 / 1.561 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/1.225, allocations: 17.22 kB / 1.561 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/1.225, allocations: 15.98 kB / 1.561 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.225, allocations: 0 / 1.561 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001849/1.225, allocations: 61.17 kB / 1.561 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.225, allocations: 6.344 kB / 1.561 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.225, allocations: 4.344 kB / 1.561 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/1.225, allocations: 4 kB / 1.561 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.654e-05/1.225, allocations: 11.88 kB / 1.561 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/1.225, allocations: 0 / 1.561 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/1.225, allocations: 7.891 kB / 1.561 GB, free: 10.95 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/1.225, allocations: 8 kB / 1.561 GB, free: 10.94 MB / 0.9792 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/1.225, allocations: 104.9 kB / 1.561 GB, free: 10.83 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/1.225, allocations: 3.984 kB / 1.561 GB, free: 10.83 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/1.225, allocations: 123.3 kB / 1.561 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-05/1.225, allocations: 184.2 kB / 1.561 GB, free: 10.51 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.528e-05/1.225, allocations: 180.3 kB / 1.562 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.447e-05/1.226, allocations: 176.3 kB / 1.562 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/1.226, allocations: 392.9 kB / 1.562 GB, free: 9.723 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-05/1.226, allocations: 105 kB / 1.562 GB, free: 9.613 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/1.226, allocations: 101 kB / 1.562 GB, free: 9.508 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.426e-05/1.226, allocations: 180.2 kB / 1.563 GB, free: 9.324 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-05/1.226, allocations: 180.4 kB / 1.563 GB, free: 9.141 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-05/1.226, allocations: 184.2 kB / 1.563 GB, free: 8.953 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.369e-05/1.226, allocations: 180.2 kB / 1.563 GB, free: 8.77 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/1.226, allocations: 303.1 kB / 1.563 GB, free: 8.453 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/1.226, allocations: 190 kB / 1.564 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/1.226, allocations: 183.6 kB / 1.564 GB, free: 8.059 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/1.227, allocations: 109 kB / 1.564 GB, free: 7.945 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/1.227, allocations: 184.2 kB / 1.564 GB, free: 7.758 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/1.227, allocations: 104.9 kB / 1.564 GB, free: 7.648 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.428e-05/1.227, allocations: 79.78 kB / 1.564 GB, free: 7.57 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.91e-07/1.227, allocations: 0 / 1.564 GB, free: 7.57 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002821/1.227, allocations: 41.92 kB / 1.564 GB, free: 7.531 MB / 0.9792 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002568/1.227, allocations: 225.8 kB / 1.564 GB, free: 7.305 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 6.121e-05/1.227, allocations: 12.67 kB / 1.564 GB, free: 7.293 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.227, allocations: 0.875 kB / 1.564 GB, free: 7.293 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/1.227, allocations: 0 / 1.564 GB, free: 7.293 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/1.228, allocations: 0.5246 MB / 1.565 GB, free: 6.766 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001752/1.228, allocations: 124.3 kB / 1.565 GB, free: 6.621 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.228, allocations: 0.6768 MB / 1.566 GB, free: 5.918 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 5.558e-05/1.228, allocations: 18.61 kB / 1.566 GB, free: 5.902 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/1.228, allocations: 7.438 kB / 1.566 GB, free: 5.895 MB / 0.9792 GB Notification: Performance of SimCode: time 2.5e-07/1.228, allocations: 0 / 1.566 GB, free: 5.895 MB / 0.9792 GB Notification: Performance of Templates: time 0.003134/1.231, allocations: 1.063 MB / 1.567 GB, free: 4.879 MB / 0.9792 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches