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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.948/1.948, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001081/0.001081, allocations: 184.6 kB / 490.8 MB, free: 1.938 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.358/1.358, allocations: 221.4 MB / 0.7863 GB, free: 13.67 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.0009865/0.0009865, allocations: 91.17 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.424e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3162, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.338, allocations: 352.8 MB / 1.556 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/1.338, allocations: 74.98 kB / 1.556 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of FrontEnd: time 0.02091/1.359, allocations: 8.814 MB / 1.565 GB, free: 6.191 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.949e-06/1.359, allocations: 4 kB / 1.565 GB, free: 6.188 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.0003615/1.36, allocations: 333.7 kB / 1.565 GB, free: 5.82 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/1.36, allocations: 8.031 kB / 1.565 GB, free: 5.812 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/1.36, allocations: 7.984 kB / 1.565 GB, free: 5.805 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/1.36, allocations: 167 kB / 1.565 GB, free: 5.602 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.282e-05/1.36, allocations: 25.7 kB / 1.565 GB, free: 5.57 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/1.36, allocations: 0 / 1.565 GB, free: 5.57 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.604e-05/1.36, allocations: 19.92 kB / 1.565 GB, free: 5.551 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.046e-05/1.36, allocations: 33.39 kB / 1.565 GB, free: 5.516 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.36, allocations: 7.984 kB / 1.565 GB, free: 5.508 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/1.36, allocations: 0 / 1.565 GB, free: 5.508 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/1.36, allocations: 0 / 1.565 GB, free: 5.508 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007156/1.361, allocations: 0.5811 MB / 1.566 GB, free: 4.828 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 3.8e-05/1.361, allocations: 14.58 kB / 1.566 GB, free: 4.805 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/1.361, allocations: 8.922 kB / 1.566 GB, free: 4.793 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/1.361, allocations: 361.8 kB / 1.566 GB, free: 4.375 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/1.361, allocations: 34.5 kB / 1.566 GB, free: 4.332 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/1.361, allocations: 0 / 1.566 GB, free: 4.332 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.000269/1.362, allocations: 49.59 kB / 1.566 GB, free: 4.277 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/1.362, allocations: 51.41 kB / 1.566 GB, free: 4.215 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/1.362, allocations: 96.23 kB / 1.567 GB, free: 4.117 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/1.362, allocations: 25.7 kB / 1.567 GB, free: 4.086 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/1.362, allocations: 91.98 kB / 1.567 GB, free: 3.992 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.713e-06/1.362, allocations: 7.172 kB / 1.567 GB, free: 3.988 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/1.362, allocations: 0 / 1.567 GB, free: 3.988 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.362, allocations: 315.8 kB / 1.567 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/1.362, allocations: 4 kB / 1.567 GB, free: 3.668 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.176e-05/1.362, allocations: 21.16 kB / 1.567 GB, free: 3.645 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/1.362, allocations: 19.97 kB / 1.567 GB, free: 3.625 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.362, allocations: 3.938 kB / 1.567 GB, free: 3.621 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002006/1.363, allocations: 61.39 kB / 1.567 GB, free: 3.559 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.363, allocations: 10.66 kB / 1.567 GB, free: 3.551 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.363, allocations: 4.062 kB / 1.567 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.363, allocations: 0 / 1.567 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.071e-05/1.363, allocations: 4 kB / 1.567 GB, free: 3.543 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/1.363, allocations: 3.938 kB / 1.567 GB, free: 3.539 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/1.363, allocations: 4 kB / 1.567 GB, free: 3.535 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/1.363, allocations: 3.984 kB / 1.567 GB, free: 3.531 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.378e-05/1.363, allocations: 108.8 kB / 1.567 GB, free: 3.418 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/1.363, allocations: 4 kB / 1.567 GB, free: 3.414 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/1.363, allocations: 124.3 kB / 1.567 GB, free: 3.293 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.635e-05/1.363, allocations: 176.3 kB / 1.567 GB, free: 3.113 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.747e-05/1.363, allocations: 184.2 kB / 1.568 GB, free: 2.926 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.376e-05/1.363, allocations: 180.2 kB / 1.568 GB, free: 2.742 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/1.363, allocations: 385.2 kB / 1.568 GB, free: 2.324 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.952e-05/1.363, allocations: 108.9 kB / 1.568 GB, free: 2.211 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/1.364, allocations: 105 kB / 1.568 GB, free: 2.102 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.237e-05/1.364, allocations: 176.3 kB / 1.569 GB, free: 1.922 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/1.364, allocations: 180.2 kB / 1.569 GB, free: 1.738 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.662e-05/1.364, allocations: 184.3 kB / 1.569 GB, free: 1.551 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.464e-05/1.364, allocations: 188.3 kB / 1.569 GB, free: 1.359 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001389/1.364, allocations: 307 kB / 1.569 GB, free: 1.039 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/1.364, allocations: 183.4 kB / 1.57 GB, free: 0.8359 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/1.364, allocations: 180.2 kB / 1.57 GB, free: 0.6523 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/1.364, allocations: 112 kB / 1.57 GB, free: 0.5391 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/1.364, allocations: 184.2 kB / 1.57 GB, free: 360 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/1.364, allocations: 108.9 kB / 1.57 GB, free: 244 kB / 0.9792 GB Notification: Performance of sort global known variables: time 4.003e-05/1.364, allocations: 83.03 kB / 1.57 GB, free: 164 kB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002723/1.365, allocations: 31.94 kB / 1.57 GB, free: 132 kB / 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.000287/1.365, allocations: 230.4 kB / 1.57 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 7.193e-05/1.365, allocations: 11.36 kB / 1.57 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.365, allocations: 0 / 1.57 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.629e-06/1.365, allocations: 0 / 1.57 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/1.365, allocations: 0.5338 MB / 1.571 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/1.366, allocations: 119.5 kB / 1.571 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/1.366, allocations: 0.6919 MB / 1.572 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of SimCode: time 5.81e-07/1.366, allocations: 0 / 1.572 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of Templates: time 0.003498/1.37, allocations: 1.112 MB / 1.573 GB, free: 13.43 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches