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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001042/0.001042, allocations: 188.9 kB / 492.3 MB, free: 0.5938 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.593/1.593, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009942/0.000994, allocations: 83.95 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.457e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3014, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.319, allocations: 157.1 MB / 1.366 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/1.319, allocations: 94.5 kB / 1.366 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03983/1.359, allocations: 17.56 MB / 1.383 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/1.359, allocations: 4 kB / 1.383 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.225e-05/1.359, allocations: 19 kB / 1.383 GB, free: 31.65 MB / 0.8386 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.001198/1.36, allocations: 0.9207 MB / 1.384 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.36, allocations: 7.438 kB / 1.384 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/1.361, allocations: 93.12 kB / 1.384 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007513/1.361, allocations: 0.4951 MB / 1.385 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-05/1.361, allocations: 78.7 kB / 1.385 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/1.362, allocations: 55.09 kB / 1.385 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007213/1.362, allocations: 0.532 MB / 1.385 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.362, allocations: 0 / 1.385 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/1.362, allocations: 27.86 kB / 1.385 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/1.362, allocations: 11.59 kB / 1.385 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/1.363, allocations: 332.3 kB / 1.386 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/1.365, allocations: 1.935 MB / 1.387 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/1.365, allocations: 342.7 kB / 1.388 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/1.365, allocations: 161.7 kB / 1.388 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/1.365, allocations: 7.781 kB / 1.388 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003233/1.366, allocations: 254.3 kB / 1.388 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=44): time 1.753e-06/1.366, allocations: 0 / 1.388 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44): time 0.0005652/1.366, allocations: 383.2 kB / 1.389 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/1.366, allocations: 198 kB / 1.389 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006683/1.367, allocations: 0.672 MB / 1.389 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/1.367, allocations: 46.52 kB / 1.389 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/1.367, allocations: 368.8 kB / 1.39 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/1.368, allocations: 113.9 kB / 1.39 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/1.368, allocations: 11.28 kB / 1.39 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/1.368, allocations: 323.7 kB / 1.39 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/1.368, allocations: 132.7 kB / 1.39 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/1.368, allocations: 312.4 kB / 1.391 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/1.368, allocations: 147.4 kB / 1.391 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.368, allocations: 0 / 1.391 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000605/1.369, allocations: 0.4959 MB / 1.391 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.369, allocations: 8.5 kB / 1.391 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.369, allocations: 4.25 kB / 1.391 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.369, allocations: 11.52 kB / 1.391 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/1.369, allocations: 75.19 kB / 1.391 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/1.369, allocations: 7.562 kB / 1.391 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/1.37, allocations: 57.72 kB / 1.391 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/1.37, allocations: 29.8 kB / 1.391 GB, free: 27.04 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.0001357/1.37, allocations: 173.8 kB / 1.392 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/1.37, allocations: 77.34 kB / 1.392 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005926/1.37, allocations: 417.9 kB / 1.392 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.37, allocations: 3.891 kB / 1.392 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.371, allocations: 11.77 kB / 1.392 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.371, allocations: 3.984 kB / 1.392 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/1.372, allocations: 1.102 MB / 1.393 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.372, allocations: 3.875 kB / 1.393 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/1.372, allocations: 30.95 kB / 1.393 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/1.372, allocations: 3.844 kB / 1.393 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/1.372, allocations: 14.45 kB / 1.393 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.372, allocations: 11.73 kB / 1.393 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.372, allocations: 0 / 1.393 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/1.373, allocations: 0.559 MB / 1.394 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/1.373, allocations: 154.4 kB / 1.394 GB, free: 25.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/1.373, allocations: 18.7 kB / 1.394 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/1.373, allocations: 26.89 kB / 1.394 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.373, allocations: 54.11 kB / 1.394 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/1.373, allocations: 18.72 kB / 1.394 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004811/1.374, allocations: 0.4985 MB / 1.395 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.71e-07/1.374, allocations: 0 / 1.395 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005008/1.374, allocations: 134.2 kB / 1.395 GB, free: 25.58 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.0009838/1.375, allocations: 449.2 kB / 1.395 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00053/1.376, allocations: 386.2 kB / 1.395 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.376, allocations: 0 / 1.395 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/1.376, allocations: 190.8 kB / 1.396 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/1.376, allocations: 109.8 kB / 1.396 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/1.378, allocations: 0.9102 MB / 1.397 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/1.378, allocations: 0.9845 MB / 1.398 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002549/1.378, allocations: 94.84 kB / 1.398 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/1.379, allocations: 56.7 kB / 1.398 GB, free: 24 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.379, allocations: 0 / 1.398 GB, free: 24 MB / 0.8386 GB Notification: Performance of Templates: time 0.01192/1.391, allocations: 6.983 MB / 1.405 GB, free: 18.68 MB / 0.8386 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