Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.874/1.874, allocations: 387.2 MB / 394.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 187.5 kB / 487 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 221.3 MB / 0.7819 GB, free: 6.762 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009842/0.0009842, allocations: 98.44 kB / 0.9213 GB, free: 43.66 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 8.697e-06/8.706e-06, allocations: 4 kB / 1.066 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5808, allocations: 142.3 MB / 1.205 GB, free: 72.73 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.75, allocations: 156.4 MB / 1.358 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.7503, allocations: 87.94 kB / 1.358 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.0435/0.7939, allocations: 16.96 MB / 1.375 GB, free: 5.77 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.742e-05/0.794, allocations: 16 kB / 1.375 GB, free: 5.754 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001223/0.7952, allocations: 0.9211 MB / 1.375 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.7952, allocations: 16.03 kB / 1.375 GB, free: 4.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.7954, allocations: 95.67 kB / 1.376 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/0.7962, allocations: 0.4926 MB / 1.376 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.7964, allocations: 58.59 kB / 1.376 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.7965, allocations: 36 kB / 1.376 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005477/0.797, allocations: 297.9 kB / 1.376 GB, free: 3.734 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006725/0.7977, allocations: 477.7 kB / 1.377 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.7977, allocations: 3.984 kB / 1.377 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.7978, allocations: 8 kB / 1.377 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.7978, allocations: 12 kB / 1.377 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.7998, allocations: 1.834 MB / 1.379 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.8002, allocations: 307.4 kB / 1.379 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.8005, allocations: 148.1 kB / 1.379 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.8005, allocations: 7.984 kB / 1.379 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/0.8008, allocations: 231.8 kB / 1.379 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=44): time 2.114e-06/0.8008, allocations: 0 / 1.379 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of matching and sorting (n=44): time 0.0005322/0.8014, allocations: 320.9 kB / 1.38 GB, free: 220 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.8015, allocations: 200 kB / 1.38 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/0.8022, allocations: 0.6205 MB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.8023, allocations: 37.69 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.8024, allocations: 248.8 kB / 1.381 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.8025, allocations: 106.5 kB / 1.381 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.8025, allocations: 0 / 1.381 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.8026, allocations: 334 kB / 1.381 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.8028, allocations: 125.2 kB / 1.381 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.8031, allocations: 285.4 kB / 1.382 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.8034, allocations: 132.7 kB / 1.382 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.8034, allocations: 0 / 1.382 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000676/0.804, allocations: 450 kB / 1.382 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.8041, allocations: 7.984 kB / 1.382 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.8041, allocations: 4 kB / 1.382 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.8041, allocations: 8 kB / 1.382 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.8044, allocations: 76.75 kB / 1.382 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.8044, allocations: 10.66 kB / 1.382 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.8047, allocations: 43.81 kB / 1.382 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.8047, allocations: 24 kB / 1.382 GB, free: 13.4 MB / 0.8855 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.0001928/0.8049, allocations: 162 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.805, allocations: 67.16 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006575/0.8057, allocations: 378.2 kB / 1.383 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.8057, allocations: 8 kB / 1.383 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8057, allocations: 0 / 1.383 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.8057, allocations: 7.984 kB / 1.383 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.8071, allocations: 0.9799 MB / 1.384 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8071, allocations: 4 kB / 1.384 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.8072, allocations: 29.42 kB / 1.384 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.8072, allocations: 4 kB / 1.384 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.8073, allocations: 11.98 kB / 1.384 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.8073, allocations: 0 / 1.384 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8073, allocations: 8 kB / 1.384 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005853/0.8079, allocations: 0.4988 MB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.808, allocations: 156.2 kB / 1.385 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/0.8081, allocations: 11.89 kB / 1.385 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.8084, allocations: 19.98 kB / 1.385 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.8085, allocations: 44.36 kB / 1.385 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.8085, allocations: 19.94 kB / 1.385 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0004762/0.809, allocations: 475.1 kB / 1.385 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004898/0.8095, allocations: 111.8 kB / 1.385 GB, free: 10.32 MB / 0.8855 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.0007589/0.8103, allocations: 402.9 kB / 1.386 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.8108, allocations: 359.1 kB / 1.386 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8108, allocations: 0 / 1.386 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.8111, allocations: 178.8 kB / 1.386 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.8116, allocations: 104.8 kB / 1.386 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.8132, allocations: 0.8914 MB / 1.387 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/0.8138, allocations: 1.034 MB / 1.388 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of SimCode: time 2.7e-07/0.8138, allocations: 0 / 1.388 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of Templates: time 0.01291/0.8267, allocations: 6.586 MB / 1.394 GB, free: 0.9883 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches