Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [: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 7.0.3-maint.7.0.x/package.mo): time 1.166/1.166, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 181.2 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9774/0.9774, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008265/0.0008269, allocations: 96.8 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/7.003e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/0.5324, allocations: 137.1 MB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.5328, allocations: 83.11 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02236/0.5551, allocations: 9.532 MB / 1.028 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.5552, allocations: 4 kB / 1.028 GB, free: 9.531 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004851/0.5557, allocations: 0.5664 MB / 1.028 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.5557, allocations: 8.031 kB / 1.028 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.5558, allocations: 47.34 kB / 1.028 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.5562, allocations: 334.5 kB / 1.029 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5562, allocations: 11.94 kB / 1.029 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.5562, allocations: 7.984 kB / 1.029 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.624e-05/0.5563, allocations: 34.05 kB / 1.029 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.5564, allocations: 70.92 kB / 1.029 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.5565, allocations: 0 / 1.029 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5565, allocations: 0 / 1.029 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.5565, allocations: 0 / 1.029 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.557, allocations: 447.6 kB / 1.029 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.615e-05/0.5571, allocations: 56.94 kB / 1.029 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/0.5572, allocations: 24.03 kB / 1.029 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.5572, allocations: 15.86 kB / 1.029 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.83e-05/0.5573, allocations: 69.52 kB / 1.029 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.5573, allocations: 0 / 1.029 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.000182/0.5575, allocations: 111.5 kB / 1.03 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.5575, allocations: 55.41 kB / 1.03 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.5579, allocations: 451.9 kB / 1.03 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.5579, allocations: 25.7 kB / 1.03 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.558, allocations: 140.4 kB / 1.03 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.558, allocations: 18.92 kB / 1.03 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.558, allocations: 0 / 1.03 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.858e-05/0.5581, allocations: 352.1 kB / 1.031 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.5582, allocations: 55.14 kB / 1.031 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/0.5583, allocations: 85.3 kB / 1.031 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.71e-05/0.5584, allocations: 58.25 kB / 1.031 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5584, allocations: 4.031 kB / 1.031 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002384/0.5586, allocations: 191.1 kB / 1.031 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.5587, allocations: 4 kB / 1.031 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.5587, allocations: 4 kB / 1.031 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.5587, allocations: 0 / 1.031 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.5588, allocations: 23.92 kB / 1.031 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5588, allocations: 4 kB / 1.031 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.5589, allocations: 19.95 kB / 1.031 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.559, allocations: 7.312 kB / 1.031 GB, free: 6.484 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.361e-05/0.559, allocations: 110.2 kB / 1.031 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.5591, allocations: 43.44 kB / 1.031 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.5593, allocations: 122.4 kB / 1.031 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.5593, allocations: 4 kB / 1.031 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.5593, allocations: 0 / 1.031 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5593, allocations: 0 / 1.031 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.5595, allocations: 273.1 kB / 1.032 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5595, allocations: 4 kB / 1.032 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.5595, allocations: 4 kB / 1.032 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5595, allocations: 11.84 kB / 1.032 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.5596, allocations: 7.234 kB / 1.032 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5596, allocations: 0 / 1.032 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5596, allocations: 0 / 1.032 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001427/0.5597, allocations: 142 kB / 1.032 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-05/0.5598, allocations: 119.6 kB / 1.032 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.5599, allocations: 4 kB / 1.032 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.5599, allocations: 11.98 kB / 1.032 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.56, allocations: 11.3 kB / 1.032 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.56, allocations: 3.984 kB / 1.032 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002679/0.5603, allocations: 339.2 kB / 1.032 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002276/0.5605, allocations: 43.94 kB / 1.032 GB, free: 5.328 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000577/0.5611, allocations: 344 kB / 1.033 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.5613, allocations: 93.3 kB / 1.033 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5613, allocations: 64 / 1.033 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-05/0.5613, allocations: 30.69 kB / 1.033 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.5616, allocations: 55.39 kB / 1.033 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.5622, allocations: 443.1 kB / 1.033 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.5626, allocations: 0.8424 MB / 1.034 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/0.5626, allocations: 0 / 1.034 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of Templates: time 0.005272/0.5679, allocations: 2.508 MB / 1.036 GB, free: 1.199 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches