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.269/2.269, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001067/0.001067, allocations: 168.9 kB / 492.3 MB, free: 0.6133 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.479/1.479, allocations: 221.3 MB / 0.7871 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 93.3 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.146e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2709, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.381, allocations: 352.7 MB / 1.557 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/1.381, allocations: 87.69 kB / 1.557 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.02065/1.402, allocations: 9.14 MB / 1.566 GB, free: 4.793 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.887e-06/1.402, allocations: 0 / 1.566 GB, free: 4.793 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.626e-06/1.402, allocations: 3.938 kB / 1.566 GB, free: 4.789 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.0004018/1.402, allocations: 339.5 kB / 1.566 GB, free: 4.414 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.403, allocations: 8.031 kB / 1.566 GB, free: 4.406 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/1.403, allocations: 4 kB / 1.566 GB, free: 4.402 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/1.403, allocations: 163 kB / 1.566 GB, free: 4.203 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/1.403, allocations: 33.33 kB / 1.566 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/1.403, allocations: 0 / 1.566 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/1.403, allocations: 41.69 kB / 1.566 GB, free: 4.121 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/1.403, allocations: 0 / 1.566 GB, free: 4.121 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.403, allocations: 0 / 1.566 GB, free: 4.121 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/1.403, allocations: 0 / 1.566 GB, free: 4.121 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.303e-05/1.403, allocations: 19.17 kB / 1.566 GB, free: 4.105 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007174/1.404, allocations: 0.6035 MB / 1.567 GB, free: 3.395 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/1.404, allocations: 22.56 kB / 1.567 GB, free: 3.363 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/1.404, allocations: 4.859 kB / 1.567 GB, free: 3.355 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/1.404, allocations: 365.7 kB / 1.567 GB, free: 2.934 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/1.404, allocations: 30.56 kB / 1.567 GB, free: 2.895 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/1.404, allocations: 7.938 kB / 1.567 GB, free: 2.887 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.0001618/1.404, allocations: 40.94 kB / 1.568 GB, free: 2.844 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/1.404, allocations: 55.36 kB / 1.568 GB, free: 2.777 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.298e-05/1.405, allocations: 92.25 kB / 1.568 GB, free: 2.684 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/1.405, allocations: 29.7 kB / 1.568 GB, free: 2.648 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/1.405, allocations: 87.98 kB / 1.568 GB, free: 2.559 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-06/1.405, allocations: 0 / 1.568 GB, free: 2.559 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-06/1.405, allocations: 0 / 1.568 GB, free: 2.559 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.405, allocations: 318.6 kB / 1.568 GB, free: 2.242 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/1.405, allocations: 8.031 kB / 1.568 GB, free: 2.234 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-05/1.405, allocations: 13.72 kB / 1.568 GB, free: 2.215 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.069e-05/1.405, allocations: 4 kB / 1.568 GB, free: 2.211 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.405, allocations: 3.938 kB / 1.568 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.561e-05/1.405, allocations: 45.19 kB / 1.568 GB, free: 2.16 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.405, allocations: 8 kB / 1.568 GB, free: 2.152 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.405, allocations: 0 / 1.568 GB, free: 2.152 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/1.405, allocations: 8 kB / 1.568 GB, free: 2.145 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/1.405, allocations: 7.984 kB / 1.568 GB, free: 2.137 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.405, allocations: 7.938 kB / 1.568 GB, free: 2.129 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/1.405, allocations: 11.8 kB / 1.568 GB, free: 2.117 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/1.405, allocations: 0 / 1.568 GB, free: 2.117 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 6.992e-05/1.405, allocations: 109.2 kB / 1.568 GB, free: 2.008 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/1.405, allocations: 0 / 1.568 GB, free: 2.008 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/1.405, allocations: 117 kB / 1.568 GB, free: 1.883 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-05/1.405, allocations: 184.2 kB / 1.569 GB, free: 1.695 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.635e-05/1.405, allocations: 180 kB / 1.569 GB, free: 1.516 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.672e-05/1.406, allocations: 180.3 kB / 1.569 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/1.406, allocations: 408.4 kB / 1.569 GB, free: 0.8789 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.713e-05/1.406, allocations: 105 kB / 1.569 GB, free: 0.7695 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/1.406, allocations: 112.9 kB / 1.57 GB, free: 0.6523 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-05/1.406, allocations: 180.2 kB / 1.57 GB, free: 480 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/1.406, allocations: 176.3 kB / 1.57 GB, free: 296 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.271e-05/1.406, allocations: 184.2 kB / 1.57 GB, free: 104 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.892e-05/1.406, allocations: 179.9 kB / 1.57 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/1.406, allocations: 315.7 kB / 1.57 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/1.406, allocations: 181.6 kB / 1.571 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/1.406, allocations: 184.2 kB / 1.571 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/1.407, allocations: 109 kB / 1.571 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/1.407, allocations: 180.2 kB / 1.571 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/1.407, allocations: 108.4 kB / 1.571 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.838e-05/1.407, allocations: 79.28 kB / 1.571 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.21e-07/1.407, allocations: 0 / 1.571 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002857/1.407, allocations: 42.98 kB / 1.571 GB, free: 14.68 MB / 0.9948 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.000285/1.407, allocations: 232.5 kB / 1.572 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 8.1e-05/1.407, allocations: 14.62 kB / 1.572 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.408, allocations: 0 / 1.572 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/1.408, allocations: 0 / 1.572 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/1.408, allocations: 0.5303 MB / 1.572 GB, free: 13.9 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001775/1.408, allocations: 124.8 kB / 1.572 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/1.408, allocations: 0.677 MB / 1.573 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 4.717e-05/1.408, allocations: 6.391 kB / 1.573 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/1.408, allocations: 15.38 kB / 1.573 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of SimCode: time 2.51e-07/1.408, allocations: 4 kB / 1.573 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of Templates: time 0.003477/1.412, allocations: 1.133 MB / 1.574 GB, free: 11.95 MB / 0.9948 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