Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [: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 9.1.1-maint.9.1.x/package.mo): time 1.885/1.885, allocations: 387.2 MB / 394.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 182.9 kB / 487 MB, free: 7.898 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 221.4 MB / 0.7819 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008576/0.0008576, allocations: 95.95 kB / 0.9213 GB, free: 64.66 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.572e-06, allocations: 0 / 1.066 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2547, allocations: 142.3 MB / 1.205 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7872/1.042, allocations: 434.4 MB / 1.629 GB, free: 11.52 MB / 1.107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/1.042, allocations: 64.95 kB / 1.629 GB, free: 11.45 MB / 1.107 GB Notification: Performance of FrontEnd: time 0.04031/1.083, allocations: 18.71 MB / 1.648 GB, free: 8.871 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.154e-06/1.083, allocations: 4 kB / 1.648 GB, free: 8.867 MB / 1.123 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.0003818/1.083, allocations: 356.1 kB / 1.648 GB, free: 8.477 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.083, allocations: 17.81 kB / 1.648 GB, free: 8.461 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/1.083, allocations: 4.844 kB / 1.648 GB, free: 8.457 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/1.083, allocations: 159.1 kB / 1.648 GB, free: 8.262 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/1.083, allocations: 29.7 kB / 1.648 GB, free: 8.227 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/1.083, allocations: 0.7031 kB / 1.648 GB, free: 8.227 MB / 1.123 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.994e-05/1.083, allocations: 11.98 kB / 1.648 GB, free: 8.215 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.363e-05/1.083, allocations: 45.69 kB / 1.648 GB, free: 8.164 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/1.083, allocations: 0 / 1.648 GB, free: 8.164 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.083, allocations: 0.8438 kB / 1.648 GB, free: 8.164 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/1.083, allocations: 4.938 kB / 1.648 GB, free: 8.16 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/1.084, allocations: 310.5 kB / 1.649 GB, free: 7.801 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 3.088e-05/1.084, allocations: 18.61 kB / 1.649 GB, free: 7.773 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/1.084, allocations: 8.922 kB / 1.649 GB, free: 7.762 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-05/1.084, allocations: 89.02 kB / 1.649 GB, free: 7.656 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/1.084, allocations: 30.56 kB / 1.649 GB, free: 7.617 MB / 1.123 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/1.084, allocations: 0 / 1.649 GB, free: 7.617 MB / 1.123 GB Notification: Performance of matching and sorting (n=1): time 0.0001557/1.084, allocations: 37.69 kB / 1.649 GB, free: 7.574 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/1.084, allocations: 51.41 kB / 1.649 GB, free: 7.512 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/1.084, allocations: 94.12 kB / 1.649 GB, free: 7.414 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/1.084, allocations: 29.64 kB / 1.649 GB, free: 7.379 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/1.084, allocations: 90.42 kB / 1.649 GB, free: 7.289 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-06/1.084, allocations: 8 kB / 1.649 GB, free: 7.281 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/1.084, allocations: 0 / 1.649 GB, free: 7.281 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.084, allocations: 318.7 kB / 1.649 GB, free: 6.961 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/1.085, allocations: 4 kB / 1.649 GB, free: 6.957 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/1.085, allocations: 13.66 kB / 1.649 GB, free: 6.938 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.267e-05/1.085, allocations: 15.98 kB / 1.649 GB, free: 6.922 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.085, allocations: 4 kB / 1.649 GB, free: 6.918 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001044/1.085, allocations: 41.69 kB / 1.649 GB, free: 6.871 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.085, allocations: 11.94 kB / 1.649 GB, free: 6.859 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/1.085, allocations: 0 / 1.649 GB, free: 6.859 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/1.085, allocations: 0 / 1.649 GB, free: 6.859 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.001e-05/1.085, allocations: 4 kB / 1.649 GB, free: 6.855 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/1.085, allocations: 0 / 1.649 GB, free: 6.855 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/1.085, allocations: 15.53 kB / 1.65 GB, free: 6.844 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/1.085, allocations: 0 / 1.65 GB, free: 6.844 MB / 1.123 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.068e-05/1.085, allocations: 105 kB / 1.65 GB, free: 6.734 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/1.085, allocations: 9.25 kB / 1.65 GB, free: 6.727 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/1.085, allocations: 122.8 kB / 1.65 GB, free: 6.602 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.763e-05/1.085, allocations: 180.2 kB / 1.65 GB, free: 6.418 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.072e-05/1.085, allocations: 176.3 kB / 1.65 GB, free: 6.238 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-05/1.085, allocations: 184.2 kB / 1.65 GB, free: 6.051 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/1.085, allocations: 389.7 kB / 1.651 GB, free: 5.625 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/1.085, allocations: 101 kB / 1.651 GB, free: 5.52 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/1.085, allocations: 105 kB / 1.651 GB, free: 5.41 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.446e-05/1.086, allocations: 181.7 kB / 1.651 GB, free: 5.227 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/1.086, allocations: 176.3 kB / 1.651 GB, free: 5.047 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.064e-05/1.086, allocations: 180.3 kB / 1.651 GB, free: 4.863 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.906e-05/1.086, allocations: 188.2 kB / 1.652 GB, free: 4.672 MB / 1.123 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00014/1.086, allocations: 305.5 kB / 1.652 GB, free: 4.352 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/1.086, allocations: 193.9 kB / 1.652 GB, free: 4.137 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/1.086, allocations: 180.3 kB / 1.652 GB, free: 3.953 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/1.086, allocations: 105 kB / 1.652 GB, free: 3.844 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/1.086, allocations: 180.2 kB / 1.652 GB, free: 3.66 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/1.086, allocations: 113.7 kB / 1.653 GB, free: 3.543 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.141e-05/1.086, allocations: 79.28 kB / 1.653 GB, free: 3.465 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002327/1.086, allocations: 16 kB / 1.653 GB, free: 3.449 MB / 1.123 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.0002165/1.087, allocations: 236.7 kB / 1.653 GB, free: 3.207 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 4.969e-05/1.087, allocations: 8.234 kB / 1.653 GB, free: 3.199 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.087, allocations: 0 / 1.653 GB, free: 3.199 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/1.087, allocations: 13.05 kB / 1.653 GB, free: 3.188 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/1.087, allocations: 0.5226 MB / 1.653 GB, free: 2.66 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001415/1.087, allocations: 122.4 kB / 1.654 GB, free: 2.52 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/1.087, allocations: 0.6849 MB / 1.654 GB, free: 1.809 MB / 1.123 GB Notification: Performance of SimCode: time 2.3e-07/1.087, allocations: 0 / 1.654 GB, free: 1.809 MB / 1.123 GB Notification: Performance of Templates: time 0.002684/1.09, allocations: 0.8769 MB / 1.655 GB, free: 0.9844 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches