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.379/1.379, allocations: 249.3 MB / 261.8 MB, free: 5.895 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.0009963/0.0009964, allocations: 182 kB / 321.3 MB, free: 14.64 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.423/1.423, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.0008269/0.0008269, allocations: 82.55 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.211e-05, allocations: 4 kB / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.202, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7579/0.9599, allocations: 140.7 MB / 1.029 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.9602, allocations: 94.09 kB / 1.029 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03845/0.9987, allocations: 15.42 MB / 1.044 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.797e-06/0.9987, allocations: 0 / 1.044 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.685e-05/0.9988, allocations: 23.94 kB / 1.044 GB, free: 12.76 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001315/1, allocations: 0.8959 MB / 1.045 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1, allocations: 8.031 kB / 1.045 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/1, allocations: 94.88 kB / 1.045 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006955/1.001, allocations: 458.1 kB / 1.046 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/1.001, allocations: 81.45 kB / 1.046 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.222e-05/1.001, allocations: 65.17 kB / 1.046 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009413/1.002, allocations: 0.6438 MB / 1.047 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/1.002, allocations: 4 kB / 1.047 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/1.002, allocations: 18.62 kB / 1.047 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/1.002, allocations: 16 kB / 1.047 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006298/1.003, allocations: 409.7 kB / 1.047 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002634/1.006, allocations: 2.703 MB / 1.05 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/1.006, allocations: 285.5 kB / 1.05 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/1.006, allocations: 132.2 kB / 1.05 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/1.006, allocations: 7.938 kB / 1.05 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003473/1.007, allocations: 193.8 kB / 1.05 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=38): time 2.345e-06/1.007, allocations: 4 kB / 1.05 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.0006181/1.007, allocations: 324.5 kB / 1.051 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/1.007, allocations: 85.09 kB / 1.051 GB, free: 7.133 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/1.008, allocations: 0.5911 MB / 1.051 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.567e-05/1.008, allocations: 50.69 kB / 1.051 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/1.009, allocations: 387.5 kB / 1.052 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-05/1.009, allocations: 92.56 kB / 1.052 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/1.009, allocations: 14.19 kB / 1.052 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.009, allocations: 385.3 kB / 1.052 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/1.009, allocations: 141.4 kB / 1.052 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/1.01, allocations: 351.1 kB / 1.053 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/1.01, allocations: 162.8 kB / 1.053 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/1.01, allocations: 4 kB / 1.053 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007919/1.011, allocations: 0.5267 MB / 1.053 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.011, allocations: 8 kB / 1.053 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.011, allocations: 11.98 kB / 1.053 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/1.011, allocations: 8 kB / 1.053 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/1.011, allocations: 82.84 kB / 1.053 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/1.011, allocations: 15.94 kB / 1.053 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/1.011, allocations: 70.75 kB / 1.053 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/1.011, allocations: 30.56 kB / 1.053 GB, free: 4.727 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.0001676/1.012, allocations: 167.9 kB / 1.054 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.959e-05/1.012, allocations: 71.16 kB / 1.054 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006432/1.012, allocations: 393.8 kB / 1.054 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/1.012, allocations: 4 kB / 1.054 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.012, allocations: 3.953 kB / 1.054 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/1.012, allocations: 48 / 1.054 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/1.014, allocations: 1.025 MB / 1.055 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.014, allocations: 4 kB / 1.055 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/1.014, allocations: 35.86 kB / 1.055 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/1.014, allocations: 7.953 kB / 1.055 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/1.014, allocations: 7.859 kB / 1.055 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/1.014, allocations: 4 kB / 1.055 GB, free: 3.316 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.014, allocations: 0 / 1.055 GB, free: 3.316 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/1.015, allocations: 458.2 kB / 1.056 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/1.015, allocations: 147.9 kB / 1.056 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/1.015, allocations: 18.58 kB / 1.056 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/1.015, allocations: 27.72 kB / 1.056 GB, free: 2.734 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/1.015, allocations: 54.48 kB / 1.056 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/1.015, allocations: 15.8 kB / 1.056 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004593/1.016, allocations: 442 kB / 1.056 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.81e-07/1.016, allocations: 4 kB / 1.056 GB, free: 2.344 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005109/1.016, allocations: 129.2 kB / 1.056 GB, free: 2.234 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.001042/1.017, allocations: 444.5 kB / 1.057 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006113/1.018, allocations: 386.2 kB / 1.057 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.018, allocations: 0 / 1.057 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/1.018, allocations: 166 kB / 1.057 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/1.019, allocations: 93.62 kB / 1.057 GB, free: 1.445 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/1.02, allocations: 0.8172 MB / 1.058 GB, free: 0.707 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/1.021, allocations: 0.9652 MB / 1.059 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002461/1.021, allocations: 80.67 kB / 1.059 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/1.021, allocations: 46.48 kB / 1.059 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/1.021, allocations: 0 / 1.059 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.01226/1.033, allocations: 6.081 MB / 1.065 GB, free: 9.566 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