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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.292/2.292, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001162/0.001162, allocations: 184 kB / 0.4902 GB, free: 2.242 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.539/1.539, allocations: 223.2 MB / 0.7992 GB, free: 15.7 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.0009895/0.0009895, allocations: 96.25 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 10.05 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3265, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2286/0.5552, allocations: 158 MB / 1.383 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004254/0.5557, allocations: 99.86 kB / 1.384 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05102/0.6068, allocations: 17.6 MB / 1.401 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6068, allocations: 0 / 1.401 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001042/0.607, allocations: 16 kB / 1.401 GB, free: 5.406 MB / 0.9011 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.002534/0.6095, allocations: 1.038 MB / 1.402 GB, free: 4.301 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.6096, allocations: 8.562 kB / 1.402 GB, free: 4.293 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.61, allocations: 94.88 kB / 1.402 GB, free: 4.199 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.6113, allocations: 0.4926 MB / 1.402 GB, free: 3.664 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.6114, allocations: 78.62 kB / 1.402 GB, free: 3.582 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.6115, allocations: 55.95 kB / 1.402 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.6126, allocations: 0.5385 MB / 1.403 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.6126, allocations: 11.92 kB / 1.403 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.6127, allocations: 27.98 kB / 1.403 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.6127, allocations: 12 kB / 1.403 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007104/0.6134, allocations: 343.7 kB / 1.403 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002985/0.6164, allocations: 1.948 MB / 1.405 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/0.6171, allocations: 348.1 kB / 1.406 GB, free: 140 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.6171, allocations: 4.062 kB / 1.406 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.7553/1.372, allocations: 258 kB / 1.406 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=44): time 5.07e-06/1.373, allocations: 2.469 kB / 1.406 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44): time 0.001564/1.374, allocations: 0.4968 MB / 1.406 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/1.374, allocations: 195.8 kB / 1.407 GB, free: 165 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.376, allocations: 0.6697 MB / 1.407 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.128e-05/1.376, allocations: 48.55 kB / 1.407 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/1.376, allocations: 370.6 kB / 1.408 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/1.376, allocations: 107.9 kB / 1.408 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/1.376, allocations: 14 kB / 1.408 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.376, allocations: 335.8 kB / 1.408 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/1.377, allocations: 139.4 kB / 1.408 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/1.377, allocations: 309.8 kB / 1.408 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/1.377, allocations: 145.9 kB / 1.409 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.377, allocations: 8 kB / 1.409 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009443/1.378, allocations: 0.5134 MB / 1.409 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/1.378, allocations: 7.266 kB / 1.409 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.378, allocations: 4.656 kB / 1.409 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/1.378, allocations: 11.47 kB / 1.409 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/1.379, allocations: 70.98 kB / 1.409 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/1.379, allocations: 9.844 kB / 1.409 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/1.379, allocations: 59.58 kB / 1.409 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/1.379, allocations: 25.44 kB / 1.409 GB, free: 164.1 MB / 0.9011 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 () * Number of clocked 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.0003974/1.38, allocations: 283.2 kB / 1.41 GB, free: 164 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/1.38, allocations: 75.55 kB / 1.41 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008984/1.381, allocations: 438.9 kB / 1.41 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/1.381, allocations: 9.141 kB / 1.41 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/1.381, allocations: 2.141 kB / 1.41 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/1.381, allocations: 4.531 kB / 1.41 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/1.383, allocations: 1.114 MB / 1.411 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.383, allocations: 5.203 kB / 1.411 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/1.383, allocations: 39.92 kB / 1.411 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/1.383, allocations: 3.547 kB / 1.411 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/1.383, allocations: 11.91 kB / 1.411 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/1.383, allocations: 3.766 kB / 1.411 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.383, allocations: 1.062 kB / 1.411 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008472/1.384, allocations: 0.5714 MB / 1.412 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/1.384, allocations: 159.2 kB / 1.412 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/1.384, allocations: 14.42 kB / 1.412 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/1.384, allocations: 29.16 kB / 1.412 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/1.384, allocations: 53.33 kB / 1.412 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/1.384, allocations: 19.98 kB / 1.412 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008311/1.385, allocations: 0.5072 MB / 1.413 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2e-07/1.385, allocations: 0 / 1.413 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007391/1.386, allocations: 136.4 kB / 1.413 GB, free: 163.1 MB / 0.9011 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) * Number of clocked states: 0 () * 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.001331/1.387, allocations: 491.6 kB / 1.413 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009401/1.388, allocations: 403.6 kB / 1.414 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.388, allocations: 1.531 kB / 1.414 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004545/1.389, allocations: 198.3 kB / 1.414 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006401/1.389, allocations: 111.8 kB / 1.414 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/1.392, allocations: 1.423 MB / 1.415 GB, free: 162.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/1.393, allocations: 0.9745 MB / 1.416 GB, free: 161.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003796/1.393, allocations: 102.3 kB / 1.416 GB, free: 161.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/1.393, allocations: 52.36 kB / 1.416 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of SimCode: time 8.61e-07/1.393, allocations: 0 / 1.416 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of Templates: time 0.02001/1.413, allocations: 6.887 MB / 1.423 GB, free: 161.1 MB / 0.9011 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