Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") [: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.179/1.179, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.0009263/0.0009263, allocations: 192.1 kB / 316 MB, free: 3.535 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.032/1.032, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0008335/0.0008335, allocations: 91.08 kB / 0.671 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.192e-06/6.212e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1286, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3871/0.5157, allocations: 139.4 MB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.516, allocations: 89.75 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.03904/0.555, allocations: 16.54 MB / 1.037 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.154e-05/0.5551, allocations: 23.98 kB / 1.037 GB, free: 1.445 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001043/0.5561, allocations: 0.8927 MB / 1.038 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.5562, allocations: 12.03 kB / 1.038 GB, free: 0.5273 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.5563, allocations: 90.88 kB / 1.038 GB, free: 448 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007108/0.557, allocations: 0.4924 MB / 1.038 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.5571, allocations: 54.08 kB / 1.038 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-05/0.5572, allocations: 32 kB / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004875/0.5577, allocations: 304.2 kB / 1.039 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.5583, allocations: 480.9 kB / 1.039 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.5583, allocations: 7.938 kB / 1.039 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.5584, allocations: 0 / 1.039 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.5584, allocations: 12 kB / 1.039 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.5602, allocations: 1.987 MB / 1.041 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.5606, allocations: 253.2 kB / 1.041 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.5608, allocations: 137.2 kB / 1.042 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.5608, allocations: 4.328 kB / 1.042 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.561, allocations: 192.3 kB / 1.042 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 1.823e-06/0.561, allocations: 0 / 1.042 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0004652/0.5615, allocations: 310.7 kB / 1.042 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.5616, allocations: 110.8 kB / 1.042 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.5622, allocations: 0.6281 MB / 1.043 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.5623, allocations: 37.14 kB / 1.043 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.5624, allocations: 254.9 kB / 1.043 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.681e-05/0.5625, allocations: 106.7 kB / 1.043 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.5625, allocations: 0 / 1.043 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5626, allocations: 388.2 kB / 1.044 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.5629, allocations: 119.3 kB / 1.044 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.5631, allocations: 300 kB / 1.044 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.5633, allocations: 134.1 kB / 1.044 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5633, allocations: 0 / 1.044 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005973/0.5639, allocations: 452.4 kB / 1.044 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.564, allocations: 7.984 kB / 1.044 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.564, allocations: 4 kB / 1.044 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.564, allocations: 8 kB / 1.044 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.5642, allocations: 70.97 kB / 1.045 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.5643, allocations: 15.92 kB / 1.045 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.5645, allocations: 40.17 kB / 1.045 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.5646, allocations: 26.25 kB / 1.045 GB, free: 10.49 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,pumOn.outPort[2].reset,$whenCondition3,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,staBy.active,$PRE.pumOn.localActive,pumOn.localActive,pumOn.outPort[2].available,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,cheMinFlo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.5647, allocations: 153.4 kB / 1.045 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.5648, allocations: 75.06 kB / 1.045 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005956/0.5654, allocations: 371.7 kB / 1.045 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5654, allocations: 4 kB / 1.045 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5654, allocations: 4 kB / 1.045 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.5654, allocations: 3.984 kB / 1.045 GB, free: 9.973 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.5666, allocations: 0.9837 MB / 1.046 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5666, allocations: 0 / 1.046 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.5667, allocations: 31.42 kB / 1.046 GB, free: 9.137 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5667, allocations: 4 kB / 1.046 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.5668, allocations: 4 kB / 1.046 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5668, allocations: 0 / 1.046 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5668, allocations: 3.984 kB / 1.046 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005278/0.5673, allocations: 454.8 kB / 1.047 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5675, allocations: 150.5 kB / 1.047 GB, free: 8.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.5675, allocations: 7.984 kB / 1.047 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.5677, allocations: 18.67 kB / 1.047 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.5679, allocations: 51.08 kB / 1.047 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.5679, allocations: 19.81 kB / 1.047 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004185/0.5683, allocations: 468.1 kB / 1.047 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004346/0.5688, allocations: 118.9 kB / 1.047 GB, free: 8.039 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: 37 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,staBy.active,pumOn.outPort[2].available,pumOn.newActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006644/0.5694, allocations: 372.2 kB / 1.048 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004653/0.5699, allocations: 360.7 kB / 1.048 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5699, allocations: 1.188 kB / 1.048 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.5701, allocations: 166.7 kB / 1.048 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.5706, allocations: 97.36 kB / 1.048 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.5719, allocations: 0.8807 MB / 1.049 GB, free: 6.527 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/0.5725, allocations: 1.028 MB / 1.05 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of SimCode: time 2.9e-07/0.5725, allocations: 0 / 1.05 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of Templates: time 0.01141/0.5839, allocations: 6.528 MB / 1.057 GB, free: 15.01 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches