Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.968/1.968, allocations: 390.4 MB / 397.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 181.3 kB / 490.8 MB, free: 1.949 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 221.3 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008939, allocations: 91.22 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.574e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2439, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6602/0.9042, allocations: 157.2 MB / 1.365 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.9045, allocations: 88.52 kB / 1.365 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.04603/0.9506, allocations: 16.95 MB / 1.382 GB, free: 14.87 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.658e-05/0.9507, allocations: 14.84 kB / 1.382 GB, free: 14.87 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001904/0.9526, allocations: 0.9221 MB / 1.383 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.9527, allocations: 8.844 kB / 1.383 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.9531, allocations: 96.33 kB / 1.383 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.9543, allocations: 0.4966 MB / 1.383 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.359e-05/0.9544, allocations: 53.66 kB / 1.383 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.9545, allocations: 39.38 kB / 1.383 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007098/0.9552, allocations: 297.1 kB / 1.384 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007844/0.956, allocations: 482.1 kB / 1.384 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.956, allocations: 1.25 kB / 1.384 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.9561, allocations: 5.031 kB / 1.384 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.9561, allocations: 12.94 kB / 1.384 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.9585, allocations: 1.836 MB / 1.386 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.959, allocations: 308.9 kB / 1.386 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.9592, allocations: 151.6 kB / 1.386 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.9592, allocations: 11.38 kB / 1.386 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.9595, allocations: 235.5 kB / 1.387 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=44): time 2.435e-06/0.9595, allocations: 0 / 1.387 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44): time 0.000649/0.9602, allocations: 317.8 kB / 1.387 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.9603, allocations: 191.6 kB / 1.387 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009551/0.9612, allocations: 0.6189 MB / 1.388 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.288e-05/0.9613, allocations: 46.16 kB / 1.388 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.9615, allocations: 249.8 kB / 1.388 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.788e-05/0.9616, allocations: 104.6 kB / 1.388 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.9616, allocations: 0 / 1.388 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.9617, allocations: 336.1 kB / 1.388 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.9619, allocations: 119.8 kB / 1.388 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.9623, allocations: 285.9 kB / 1.389 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.9625, allocations: 132.4 kB / 1.389 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.9625, allocations: 1.969 kB / 1.389 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007673/0.9633, allocations: 458.2 kB / 1.389 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.9633, allocations: 4.062 kB / 1.389 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.9633, allocations: 4.594 kB / 1.389 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.9634, allocations: 8.312 kB / 1.389 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.9636, allocations: 71.72 kB / 1.389 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.9637, allocations: 12.33 kB / 1.389 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.964, allocations: 42.11 kB / 1.389 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.964, allocations: 25.44 kB / 1.389 GB, free: 26.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,$PRE.transition4.t_start,transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,$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,$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 (75): * Single equations (assignments): 75 * 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.0001453/0.9642, allocations: 156.2 kB / 1.39 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.9643, allocations: 68.59 kB / 1.39 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006596/0.9649, allocations: 382.2 kB / 1.39 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.965, allocations: 5.062 kB / 1.39 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.965, allocations: 1.656 kB / 1.39 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.965, allocations: 5.516 kB / 1.39 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.9663, allocations: 0.9734 MB / 1.391 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9664, allocations: 1 kB / 1.391 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.9665, allocations: 37.3 kB / 1.391 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.9665, allocations: 2.625 kB / 1.391 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.9665, allocations: 7.484 kB / 1.391 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.9665, allocations: 7.812 kB / 1.391 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.9665, allocations: 1.125 kB / 1.391 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005819/0.9671, allocations: 0.5028 MB / 1.391 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.9673, allocations: 155.3 kB / 1.392 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.144e-05/0.9674, allocations: 11.7 kB / 1.392 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.9676, allocations: 24.02 kB / 1.392 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.9677, allocations: 50.02 kB / 1.392 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.9677, allocations: 17.12 kB / 1.392 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005297/0.9683, allocations: 469 kB / 1.392 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005687/0.9688, allocations: 110 kB / 1.392 GB, free: 24.96 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 39 (transition4.t_start,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.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,transition2.t_start,transition1.t_start) * Number of discrete states: 10 (transition1.t_start,transition2.t_start,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,transition4.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.0007989/0.9697, allocations: 396.2 kB / 1.393 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005928/0.9703, allocations: 362.6 kB / 1.393 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.9703, allocations: 0.75 kB / 1.393 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.9705, allocations: 178.1 kB / 1.393 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.9711, allocations: 102.8 kB / 1.393 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.9729, allocations: 0.8911 MB / 1.394 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006637/0.9736, allocations: 1.033 MB / 1.395 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/0.9736, allocations: 0 / 1.395 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of Templates: time 0.01367/0.9873, allocations: 6.587 MB / 1.402 GB, free: 20.25 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches