Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") [: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.175/1.175, allocations: 249.4 MB / 256.7 MB, free: 7 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.0009624/0.0009624, allocations: 184.7 kB / 316 MB, free: 3.52 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.021/1.021, allocations: 205.1 MB / 0.5667 GB, free: 15.58 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.0007782/0.0007782, allocations: 83.34 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.101e-06/6.111e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1309, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3896/0.5206, allocations: 141.1 MB / 1.022 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.5208, allocations: 88.75 kB / 1.022 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.03451/0.5553, allocations: 14.87 MB / 1.037 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.285e-05/0.5554, allocations: 19.94 kB / 1.037 GB, free: 1.148 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001064/0.5565, allocations: 0.8944 MB / 1.038 GB, free: 260 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.5565, allocations: 12.03 kB / 1.038 GB, free: 248 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.5566, allocations: 90.88 kB / 1.038 GB, free: 156 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.5573, allocations: 461.2 kB / 1.038 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.286e-05/0.5574, allocations: 66.56 kB / 1.038 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.5574, allocations: 36 kB / 1.038 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005545/0.558, allocations: 353.9 kB / 1.039 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/0.5587, allocations: 0.5638 MB / 1.039 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.5588, allocations: 3.938 kB / 1.039 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.5588, allocations: 7.984 kB / 1.039 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.5588, allocations: 16 kB / 1.039 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.561, allocations: 2.598 MB / 1.042 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.5614, allocations: 234.7 kB / 1.042 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.5616, allocations: 132.8 kB / 1.042 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.5616, allocations: 8 kB / 1.042 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.5619, allocations: 178.6 kB / 1.042 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=38): time 1.643e-06/0.5619, allocations: 0 / 1.042 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.0004273/0.5623, allocations: 275.7 kB / 1.043 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.5624, allocations: 87.41 kB / 1.043 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.5629, allocations: 0.5408 MB / 1.043 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.5629, allocations: 41.62 kB / 1.043 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.5631, allocations: 293.8 kB / 1.044 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/0.5632, allocations: 88.44 kB / 1.044 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.5632, allocations: 0 / 1.044 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.5634, allocations: 386.4 kB / 1.044 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.5636, allocations: 128.9 kB / 1.044 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.5639, allocations: 336.7 kB / 1.045 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.5641, allocations: 148.1 kB / 1.045 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5641, allocations: 0 / 1.045 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006553/0.5648, allocations: 477 kB / 1.045 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/0.5648, allocations: 4 kB / 1.045 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5648, allocations: 8 kB / 1.045 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5648, allocations: 11.94 kB / 1.045 GB, free: 9.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.5651, allocations: 91.27 kB / 1.045 GB, free: 9.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.5651, allocations: 8 kB / 1.045 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.5655, allocations: 59.91 kB / 1.045 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.5655, allocations: 30.8 kB / 1.045 GB, free: 9.484 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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 0.0001194/0.5657, allocations: 152.1 kB / 1.045 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.19e-05/0.5657, allocations: 67.09 kB / 1.046 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005864/0.5663, allocations: 341.1 kB / 1.046 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.5663, allocations: 11.98 kB / 1.046 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5664, allocations: 0 / 1.046 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.5664, allocations: 4 kB / 1.046 GB, free: 9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.5675, allocations: 0.9081 MB / 1.047 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5675, allocations: 4 kB / 1.047 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.5677, allocations: 34.73 kB / 1.047 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5677, allocations: 0 / 1.047 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.5677, allocations: 11.98 kB / 1.047 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5677, allocations: 4 kB / 1.047 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5677, allocations: 3.906 kB / 1.047 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005016/0.5682, allocations: 422.2 kB / 1.047 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.5683, allocations: 140 kB / 1.047 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.5684, allocations: 6.875 kB / 1.047 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.5686, allocations: 23.98 kB / 1.047 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.5688, allocations: 54.47 kB / 1.047 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.5688, allocations: 19.61 kB / 1.047 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003446/0.5692, allocations: 382.6 kB / 1.048 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004374/0.5696, allocations: 114.8 kB / 1.048 GB, free: 7.207 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 (nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000678/0.5703, allocations: 380.4 kB / 1.048 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004918/0.5708, allocations: 356.3 kB / 1.049 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.5708, allocations: 0 / 1.049 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.571, allocations: 160.2 kB / 1.049 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.5714, allocations: 83.89 kB / 1.049 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.5727, allocations: 0.8029 MB / 1.05 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000605/0.5733, allocations: 1.012 MB / 1.051 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/0.5734, allocations: 0 / 1.051 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of Templates: time 0.01121/0.5846, allocations: 5.961 MB / 1.056 GB, free: 14.84 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches