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.279/2.279, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001055/0.001056, allocations: 176.8 kB / 487.4 MB, free: 5.051 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.48/1.48, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008824/0.0008825, allocations: 91.89 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.531e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3096, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.362, allocations: 156.4 MB / 1.359 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.362, allocations: 96.09 kB / 1.359 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.041/1.403, allocations: 17.35 MB / 1.376 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.073e-06/1.403, allocations: 3.875 kB / 1.376 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.811e-05/1.403, allocations: 11.69 kB / 1.376 GB, free: 32.08 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.001533/1.405, allocations: 0.9235 MB / 1.377 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.405, allocations: 11.66 kB / 1.377 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/1.405, allocations: 89.25 kB / 1.377 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008296/1.406, allocations: 0.4991 MB / 1.377 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/1.406, allocations: 53.14 kB / 1.377 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/1.406, allocations: 38.83 kB / 1.377 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004748/1.406, allocations: 296.9 kB / 1.378 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/1.407, allocations: 480.7 kB / 1.378 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.407, allocations: 3.875 kB / 1.378 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/1.407, allocations: 3.984 kB / 1.378 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/1.407, allocations: 11.53 kB / 1.378 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/1.409, allocations: 1.85 MB / 1.38 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/1.41, allocations: 309 kB / 1.38 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/1.41, allocations: 145.6 kB / 1.38 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/1.41, allocations: 15.17 kB / 1.38 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003485/1.41, allocations: 237.7 kB / 1.381 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=44): time 2.495e-06/1.41, allocations: 0 / 1.381 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44): time 0.0006221/1.411, allocations: 354.4 kB / 1.381 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/1.411, allocations: 194.4 kB / 1.381 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006994/1.412, allocations: 0.6163 MB / 1.382 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/1.412, allocations: 37.14 kB / 1.382 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/1.412, allocations: 374.4 kB / 1.382 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.515e-05/1.412, allocations: 107.7 kB / 1.382 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/1.412, allocations: 0 / 1.382 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.412, allocations: 332.6 kB / 1.383 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/1.412, allocations: 118 kB / 1.383 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/1.413, allocations: 297.8 kB / 1.383 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/1.413, allocations: 132.7 kB / 1.383 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.413, allocations: 3.875 kB / 1.383 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006206/1.414, allocations: 450.5 kB / 1.383 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/1.414, allocations: 7.75 kB / 1.383 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.414, allocations: 3.906 kB / 1.383 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/1.414, allocations: 7.656 kB / 1.383 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/1.414, allocations: 72.98 kB / 1.384 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.414, allocations: 11.34 kB / 1.384 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/1.414, allocations: 41.73 kB / 1.384 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/1.414, allocations: 34.42 kB / 1.384 GB, free: 27.54 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.000168/1.414, allocations: 146.9 kB / 1.384 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/1.415, allocations: 69.88 kB / 1.384 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006272/1.415, allocations: 395.8 kB / 1.384 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/1.415, allocations: 7.812 kB / 1.384 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.415, allocations: 4 kB / 1.384 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/1.415, allocations: 3.906 kB / 1.384 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/1.417, allocations: 1.01 MB / 1.385 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.417, allocations: 0 / 1.385 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/1.417, allocations: 37.89 kB / 1.385 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/1.417, allocations: 7.797 kB / 1.385 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/1.417, allocations: 11.38 kB / 1.385 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/1.417, allocations: 0 / 1.385 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.417, allocations: 3.844 kB / 1.385 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/1.417, allocations: 0.5222 MB / 1.386 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/1.417, allocations: 162.2 kB / 1.386 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/1.418, allocations: 11.75 kB / 1.386 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/1.418, allocations: 15.36 kB / 1.386 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.418, allocations: 57.27 kB / 1.386 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/1.418, allocations: 15.38 kB / 1.386 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004953/1.418, allocations: 466.8 kB / 1.386 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.418, allocations: 0 / 1.386 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000527/1.419, allocations: 115.3 kB / 1.387 GB, free: 26.14 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.00104/1.42, allocations: 421.8 kB / 1.387 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005486/1.421, allocations: 356.3 kB / 1.387 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.421, allocations: 0 / 1.387 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/1.421, allocations: 184.9 kB / 1.388 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/1.421, allocations: 102.1 kB / 1.388 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/1.423, allocations: 0.8802 MB / 1.388 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/1.424, allocations: 0.9816 MB / 1.389 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002881/1.424, allocations: 97.91 kB / 1.39 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/1.424, allocations: 55.39 kB / 1.39 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of SimCode: time 6.42e-07/1.424, allocations: 0 / 1.39 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of Templates: time 0.01154/1.436, allocations: 6.204 MB / 1.396 GB, free: 21.52 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