Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [: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: 15.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 180.6 kB / 316 MB, free: 7.051 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.205/1.205, allocations: 205.1 MB / 0.5667 GB, free: 23.96 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.0008853/0.0008853, allocations: 87.34 kB / 0.671 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 5.25e-06/5.28e-06, allocations: 0 / 0.7807 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3554, allocations: 106.3 MB / 0.8846 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.111/3.467, allocations: 2.191 GB / 3.075 GB, free: 327.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/3.467, allocations: 87.72 kB / 3.075 GB, free: 327.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1285/3.596, allocations: 64.62 MB / 3.138 GB, free: 270.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.862e-05/3.596, allocations: 27.94 kB / 3.139 GB, free: 270.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001515/3.597, allocations: 1.121 MB / 3.14 GB, free: 269 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/3.597, allocations: 12.03 kB / 3.14 GB, free: 269 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007889/3.598, allocations: 194.5 kB / 3.14 GB, free: 268.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007657/3.599, allocations: 0.6394 MB / 3.14 GB, free: 268.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/3.599, allocations: 35.89 kB / 3.14 GB, free: 268.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/3.599, allocations: 44 kB / 3.141 GB, free: 268.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001139/3.6, allocations: 0.9796 MB / 3.141 GB, free: 267.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009259/3.601, allocations: 0.7272 MB / 3.142 GB, free: 266.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/3.601, allocations: 0 / 3.142 GB, free: 266.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/3.601, allocations: 4 kB / 3.142 GB, free: 266.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/3.601, allocations: 24 kB / 3.142 GB, free: 266.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/3.604, allocations: 2.326 MB / 3.144 GB, free: 263.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/3.605, allocations: 0.6609 MB / 3.145 GB, free: 263.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/3.605, allocations: 254.7 kB / 3.145 GB, free: 263 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/3.605, allocations: 113.8 kB / 3.145 GB, free: 262.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/3.605, allocations: 382.1 kB / 3.146 GB, free: 262.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 1.823e-06/3.605, allocations: 4 kB / 3.146 GB, free: 262.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001402/3.607, allocations: 0.6677 MB / 3.146 GB, free: 261.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/3.607, allocations: 240 kB / 3.147 GB, free: 261.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/3.607, allocations: 0.5542 MB / 3.147 GB, free: 260.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/3.608, allocations: 29.69 kB / 3.147 GB, free: 260.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/3.608, allocations: 292.2 kB / 3.148 GB, free: 260.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/3.608, allocations: 236.5 kB / 3.148 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/3.608, allocations: 0 / 3.148 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.619e-05/3.608, allocations: 378.8 kB / 3.148 GB, free: 260 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/3.608, allocations: 197.3 kB / 3.148 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/3.608, allocations: 298.4 kB / 3.149 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/3.609, allocations: 259 kB / 3.149 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/3.609, allocations: 0 / 3.149 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001286/3.61, allocations: 0.6794 MB / 3.15 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/3.61, allocations: 7.984 kB / 3.15 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/3.61, allocations: 7.938 kB / 3.15 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005724/3.611, allocations: 80.84 kB / 3.15 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/3.611, allocations: 147.8 kB / 3.15 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/3.613, allocations: 1.457 MB / 3.151 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/3.613, allocations: 71.59 kB / 3.151 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/3.613, allocations: 28 kB / 3.151 GB, free: 256.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001316/3.614, allocations: 119 kB / 3.151 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.389e-05/3.614, allocations: 79.06 kB / 3.151 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/3.615, allocations: 0.937 MB / 3.152 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/3.616, allocations: 12 kB / 3.152 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/3.616, allocations: 3.906 kB / 3.152 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/3.616, allocations: 3.984 kB / 3.152 GB, free: 255.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/3.616, allocations: 0.7747 MB / 3.153 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/3.616, allocations: 8 kB / 3.153 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/3.617, allocations: 155.6 kB / 3.153 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004776/3.617, allocations: 84.78 kB / 3.153 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/3.617, allocations: 15.98 kB / 3.153 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/3.619, allocations: 1.486 MB / 3.155 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/3.619, allocations: 4.062 kB / 3.155 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001284/3.62, allocations: 0.7839 MB / 3.156 GB, free: 252 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/3.62, allocations: 279.8 kB / 3.156 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/3.62, allocations: 7.984 kB / 3.156 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005295/3.621, allocations: 55.95 kB / 3.156 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/3.621, allocations: 52.69 kB / 3.156 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/3.621, allocations: 27.98 kB / 3.156 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003819/3.621, allocations: 447.1 kB / 3.156 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007752/3.622, allocations: 319.1 kB / 3.157 GB, free: 250.8 MB / 0.8698 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 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/3.623, allocations: 1.056 MB / 3.158 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009049/3.624, allocations: 0.6547 MB / 3.158 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/3.624, allocations: 3.938 kB / 3.158 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005633/3.625, allocations: 452.6 kB / 3.159 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008659/3.626, allocations: 229.4 kB / 3.159 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/3.629, allocations: 1.382 MB / 3.16 GB, free: 247 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/3.629, allocations: 1.135 MB / 3.162 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/3.629, allocations: 0 / 3.162 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.02029/3.65, allocations: 17.05 MB / 3.178 GB, free: 228.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches