Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 249.3 MB / 261.8 MB, free: 6.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 180.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009117/0.0009116, allocations: 82.5 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.415e-05, allocations: 7.984 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7021/0.9133, allocations: 139 MB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.9136, allocations: 90.55 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04211/0.9557, allocations: 17.16 MB / 1.044 GB, free: 13 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.995e-06/0.9558, allocations: 3.984 kB / 1.044 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.537e-05/0.9558, allocations: 20 kB / 1.044 GB, free: 12.97 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001151/0.957, allocations: 0.8933 MB / 1.045 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.957, allocations: 8.031 kB / 1.045 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.9572, allocations: 94.88 kB / 1.045 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008058/0.958, allocations: 499.6 kB / 1.046 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.675e-05/0.9581, allocations: 71.69 kB / 1.046 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/0.9582, allocations: 55.12 kB / 1.046 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/0.9589, allocations: 0.5239 MB / 1.047 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.959, allocations: 3.938 kB / 1.047 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.959, allocations: 25.56 kB / 1.047 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.959, allocations: 16 kB / 1.047 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.9595, allocations: 341.6 kB / 1.047 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.9616, allocations: 2.077 MB / 1.049 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.9621, allocations: 294.3 kB / 1.049 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.9623, allocations: 137.4 kB / 1.049 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.9623, allocations: 4.328 kB / 1.049 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/0.9627, allocations: 208 kB / 1.05 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 1.954e-06/0.9627, allocations: 4 kB / 1.05 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0005784/0.9633, allocations: 361.4 kB / 1.05 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.9633, allocations: 110.7 kB / 1.05 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007022/0.964, allocations: 0.67 MB / 1.051 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.9641, allocations: 47.88 kB / 1.051 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.9643, allocations: 367.2 kB / 1.051 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.083e-05/0.9644, allocations: 107.9 kB / 1.051 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.9644, allocations: 14.06 kB / 1.051 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.9646, allocations: 329 kB / 1.051 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.9648, allocations: 137.9 kB / 1.052 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.9651, allocations: 305.5 kB / 1.052 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.9653, allocations: 143.3 kB / 1.052 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.9653, allocations: 4 kB / 1.052 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006756/0.966, allocations: 0.4982 MB / 1.053 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.966, allocations: 8 kB / 1.053 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.9661, allocations: 7.938 kB / 1.053 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.9661, allocations: 8 kB / 1.053 GB, free: 5.859 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.9663, allocations: 73.39 kB / 1.053 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.9664, allocations: 8 kB / 1.053 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.9666, allocations: 56.98 kB / 1.053 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.9667, allocations: 26.92 kB / 1.053 GB, free: 5.715 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,pumOn.outPort[2].reset,$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,pumOn.outPort[2].available,$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 (74): * Single equations (assignments): 74 * 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.0001404/0.9668, allocations: 169.9 kB / 1.053 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.9669, allocations: 75.09 kB / 1.053 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006457/0.9676, allocations: 430.7 kB / 1.053 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.9676, allocations: 8 kB / 1.053 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.9676, allocations: 4 kB / 1.053 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.9676, allocations: 3.984 kB / 1.053 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.9689, allocations: 1.098 MB / 1.054 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.969, allocations: 0 / 1.054 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.9691, allocations: 27.92 kB / 1.054 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.9691, allocations: 4 kB / 1.054 GB, free: 4.223 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.9691, allocations: 18.36 kB / 1.054 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.9691, allocations: 0 / 1.054 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.9691, allocations: 3.953 kB / 1.054 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.9697, allocations: 0.4893 MB / 1.055 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.9699, allocations: 158.5 kB / 1.055 GB, free: 3.617 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.9699, allocations: 14.62 kB / 1.055 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.9701, allocations: 26.92 kB / 1.055 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.9703, allocations: 58.62 kB / 1.055 GB, free: 3.539 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.9703, allocations: 11.44 kB / 1.055 GB, free: 3.531 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005202/0.9708, allocations: 0.4953 MB / 1.056 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9708, allocations: 0 / 1.056 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004798/0.9713, allocations: 134 kB / 1.056 GB, free: 3.043 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (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.outPort[2].available,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) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009913/0.9723, allocations: 451.8 kB / 1.056 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005712/0.9729, allocations: 383.1 kB / 1.057 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9729, allocations: 4.125 kB / 1.057 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.9731, allocations: 176.3 kB / 1.057 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.9737, allocations: 109.7 kB / 1.057 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.975, allocations: 0.8837 MB / 1.058 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.9755, allocations: 0.9661 MB / 1.059 GB, free: 468 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002686/0.9758, allocations: 104.7 kB / 1.059 GB, free: 364 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.9759, allocations: 51.42 kB / 1.059 GB, free: 312 kB / 0.6667 GB Notification: Performance of SimCode: time 1.683e-06/0.976, allocations: 0 / 1.059 GB, free: 312 kB / 0.6667 GB Notification: Performance of Templates: time 0.01303/0.989, allocations: 6.886 MB / 1.066 GB, free: 9.457 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches