Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 249.5 MB / 257 MB, free: 6.945 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.0009357/0.0009354, allocations: 179.5 kB / 316.3 MB, free: 3.23 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.492/1.492, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008307/0.0008308, allocations: 78.5 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.533e-05/1.536e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.204, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7244/0.9284, allocations: 141 MB / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.9288, allocations: 97.86 kB / 1.023 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03754/0.9663, allocations: 15.21 MB / 1.038 GB, free: 32 kB / 0.6511 GB Notification: Performance of FrontEnd: time 3.737e-06/0.9664, allocations: 0 / 1.038 GB, free: 32 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.821e-05/0.9665, allocations: 31.92 kB / 1.038 GB, free: 0 / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001428/0.9679, allocations: 0.8867 MB / 1.039 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.9679, allocations: 12.03 kB / 1.039 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.9681, allocations: 94.88 kB / 1.039 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006744/0.9688, allocations: 459.7 kB / 1.039 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.45e-05/0.9689, allocations: 54.58 kB / 1.039 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.969, allocations: 39.98 kB / 1.039 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005916/0.9696, allocations: 348.7 kB / 1.04 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008313/0.9704, allocations: 0.5702 MB / 1.04 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.9704, allocations: 8 kB / 1.04 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.9705, allocations: 0 / 1.04 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.9705, allocations: 23.88 kB / 1.04 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.9731, allocations: 2.591 MB / 1.043 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.9735, allocations: 242.9 kB / 1.043 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.9737, allocations: 124 kB / 1.043 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.9737, allocations: 11.48 kB / 1.043 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.974, allocations: 182.6 kB / 1.043 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=38): time 1.924e-06/0.974, allocations: 0 / 1.043 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.0005758/0.9746, allocations: 298.6 kB / 1.044 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.9747, allocations: 81.11 kB / 1.044 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.9752, allocations: 0.5461 MB / 1.044 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.9753, allocations: 37.08 kB / 1.044 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.9755, allocations: 397.2 kB / 1.045 GB, free: 9.895 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.9756, allocations: 83.83 kB / 1.045 GB, free: 9.824 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.9757, allocations: 4 kB / 1.045 GB, free: 9.82 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.9758, allocations: 382.4 kB / 1.045 GB, free: 9.469 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.976, allocations: 126.5 kB / 1.045 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.9764, allocations: 337.8 kB / 1.046 GB, free: 9.035 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.9766, allocations: 142 kB / 1.046 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.9766, allocations: 4 kB / 1.046 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.000688/0.9773, allocations: 483.8 kB / 1.046 GB, free: 8.535 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.9773, allocations: 11.98 kB / 1.046 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.9773, allocations: 4.047 kB / 1.046 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.9774, allocations: 15.98 kB / 1.046 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.9777, allocations: 79.27 kB / 1.046 GB, free: 8.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.9777, allocations: 11.94 kB / 1.046 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.978, allocations: 63.72 kB / 1.046 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.9781, allocations: 30.33 kB / 1.046 GB, free: 8.332 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.000149/0.9782, allocations: 151.4 kB / 1.047 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.9783, allocations: 59.25 kB / 1.047 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00061/0.9789, allocations: 362.5 kB / 1.047 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.9789, allocations: 4 kB / 1.047 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.9789, allocations: 0 / 1.047 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.979, allocations: 4 kB / 1.047 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.9801, allocations: 0.9189 MB / 1.048 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.9801, allocations: 0 / 1.048 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.9803, allocations: 39.09 kB / 1.048 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.9803, allocations: 4 kB / 1.048 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.9803, allocations: 0 / 1.048 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.9804, allocations: 7.984 kB / 1.048 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9804, allocations: 0 / 1.048 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.9809, allocations: 436.6 kB / 1.048 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.981, allocations: 139.5 kB / 1.048 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.828e-05/0.9811, allocations: 19.48 kB / 1.048 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.9814, allocations: 23.98 kB / 1.048 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.9815, allocations: 62.64 kB / 1.049 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.9816, allocations: 12 kB / 1.049 GB, free: 6.418 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003931/0.9819, allocations: 389.6 kB / 1.049 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.982, allocations: 0 / 1.049 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004656/0.9824, allocations: 107.6 kB / 1.049 GB, free: 6.027 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: 35 (nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000942/0.9834, allocations: 408.3 kB / 1.049 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005085/0.9839, allocations: 356.8 kB / 1.05 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9839, allocations: 0 / 1.05 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.9841, allocations: 156.6 kB / 1.05 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.9846, allocations: 90.09 kB / 1.05 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.986, allocations: 0.7911 MB / 1.051 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.9865, allocations: 0.9685 MB / 1.052 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002469/0.9868, allocations: 76.53 kB / 1.052 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.9869, allocations: 50.53 kB / 1.052 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/0.9869, allocations: 0 / 1.052 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of Templates: time 0.01128/0.9982, allocations: 5.339 MB / 1.057 GB, free: 14.18 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches