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.444/1.444, allocations: 249.5 MB / 257 MB, free: 6.887 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.001126/0.001126, allocations: 180.6 kB / 316.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008492/0.0008492, allocations: 88.38 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.658e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2166, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7262/0.9428, allocations: 139.3 MB / 1.021 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.9432, allocations: 94.69 kB / 1.021 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04338/0.9866, allocations: 16.94 MB / 1.038 GB, free: 296 kB / 0.6511 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9866, allocations: 0 / 1.038 GB, free: 296 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.553e-05/0.9867, allocations: 20 kB / 1.038 GB, free: 276 kB / 0.6511 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.001307/0.988, allocations: 0.8988 MB / 1.039 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.9881, allocations: 12.03 kB / 1.039 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.9882, allocations: 93.56 kB / 1.039 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007949/0.989, allocations: 0.4913 MB / 1.039 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/0.9891, allocations: 50.33 kB / 1.039 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-05/0.9892, allocations: 35.98 kB / 1.039 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005272/0.9897, allocations: 300.9 kB / 1.04 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007379/0.9905, allocations: 475.7 kB / 1.04 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.9905, allocations: 7.891 kB / 1.04 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.9906, allocations: 7.984 kB / 1.04 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.9906, allocations: 12 kB / 1.04 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.9927, allocations: 1.979 MB / 1.042 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.9931, allocations: 274.1 kB / 1.042 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.9933, allocations: 132.5 kB / 1.043 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.9934, allocations: 4.328 kB / 1.043 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/0.9937, allocations: 194.6 kB / 1.043 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 1.813e-06/0.9937, allocations: 0 / 1.043 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0005647/0.9943, allocations: 333.5 kB / 1.043 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.9943, allocations: 118.2 kB / 1.043 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007028/0.995, allocations: 0.6231 MB / 1.044 GB, free: 11 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.9951, allocations: 37.5 kB / 1.044 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.9954, allocations: 378.9 kB / 1.044 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.601e-05/0.9955, allocations: 100.1 kB / 1.044 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.9955, allocations: 0 / 1.044 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.9957, allocations: 390.3 kB / 1.045 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.9959, allocations: 120.4 kB / 1.045 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.9962, allocations: 298.3 kB / 1.045 GB, free: 9.914 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.9964, allocations: 132.9 kB / 1.045 GB, free: 9.824 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.9964, allocations: 0 / 1.045 GB, free: 9.824 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000641/0.997, allocations: 457.2 kB / 1.046 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.9971, allocations: 8 kB / 1.046 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.9971, allocations: 4 kB / 1.046 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.9971, allocations: 8 kB / 1.046 GB, free: 9.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.9974, allocations: 71.92 kB / 1.046 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.9974, allocations: 11.94 kB / 1.046 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.9976, allocations: 43.73 kB / 1.046 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.9977, allocations: 27.8 kB / 1.046 GB, free: 9.285 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.0001533/0.9979, allocations: 149.5 kB / 1.046 GB, free: 9.137 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.9979, allocations: 67.16 kB / 1.046 GB, free: 9.07 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007035/0.9987, allocations: 408.9 kB / 1.046 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.9987, allocations: 4.047 kB / 1.046 GB, free: 8.746 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.9987, allocations: 7.984 kB / 1.046 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.9987, allocations: 3.984 kB / 1.046 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/1, allocations: 1 MB / 1.047 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1, allocations: 0 / 1.047 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/1, allocations: 31.86 kB / 1.047 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1, allocations: 0 / 1.047 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/1, allocations: 7.984 kB / 1.047 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1, allocations: 4 kB / 1.047 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1, allocations: 0 / 1.047 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/1.001, allocations: 477.3 kB / 1.048 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/1.001, allocations: 155 kB / 1.048 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/1.001, allocations: 11.92 kB / 1.048 GB, free: 7.289 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/1.001, allocations: 23.55 kB / 1.048 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/1.001, allocations: 42.75 kB / 1.048 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/1.001, allocations: 19.23 kB / 1.048 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004826/1.002, allocations: 458.5 kB / 1.049 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/1.002, allocations: 0 / 1.049 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000488/1.002, allocations: 122.1 kB / 1.049 GB, free: 6.777 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.000983/1.003, allocations: 425.7 kB / 1.049 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005488/1.004, allocations: 351.9 kB / 1.049 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.004, allocations: 3.812 kB / 1.049 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002268/1.004, allocations: 158.4 kB / 1.05 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/1.005, allocations: 103.7 kB / 1.05 GB, free: 6.012 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/1.006, allocations: 0.8587 MB / 1.05 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/1.007, allocations: 0.9711 MB / 1.051 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00027/1.007, allocations: 100.2 kB / 1.052 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/1.007, allocations: 54.84 kB / 1.052 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of SimCode: time 4.3e-07/1.007, allocations: 4 kB / 1.052 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of Templates: time 0.01231/1.019, allocations: 6.126 MB / 1.058 GB, free: 14.02 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