Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") 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.3 MB / 261.8 MB, free: 5.848 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.001061/0.001061, allocations: 178.6 kB / 321.3 MB, free: 14.68 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.471/1.471, allocations: 205.2 MB / 0.572 GB, free: 10.73 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.0009052/0.0009053, allocations: 90.52 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.952e-05/3.955e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2109, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7222/0.9332, allocations: 140.5 MB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.9335, allocations: 93 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03587/0.9694, allocations: 14.47 MB / 1.043 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9695, allocations: 0 / 1.043 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.15e-05/0.9695, allocations: 31.92 kB / 1.043 GB, free: 13.89 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00115/0.9707, allocations: 0.8199 MB / 1.044 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.9708, allocations: 8.031 kB / 1.044 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.9709, allocations: 86.97 kB / 1.044 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/0.9716, allocations: 448.5 kB / 1.045 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-05/0.9717, allocations: 75.81 kB / 1.045 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.038e-05/0.9718, allocations: 60.88 kB / 1.045 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008601/0.9727, allocations: 0.5987 MB / 1.045 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.9727, allocations: 0 / 1.045 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.9728, allocations: 21.94 kB / 1.045 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.9728, allocations: 12 kB / 1.045 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.9734, allocations: 377.1 kB / 1.046 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.9758, allocations: 2.654 MB / 1.048 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.9762, allocations: 259.5 kB / 1.049 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.9764, allocations: 133.8 kB / 1.049 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.9764, allocations: 7.25 kB / 1.049 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.9768, allocations: 206.6 kB / 1.049 GB, free: 8.793 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 1.983e-06/0.9768, allocations: 0 / 1.049 GB, free: 8.793 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.0005658/0.9773, allocations: 335.6 kB / 1.049 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.9774, allocations: 88.42 kB / 1.049 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.978, allocations: 0.5638 MB / 1.05 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.9781, allocations: 47.56 kB / 1.05 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.9783, allocations: 379.1 kB / 1.05 GB, free: 7.676 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.912e-05/0.9784, allocations: 96.3 kB / 1.05 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.9784, allocations: 9.562 kB / 1.05 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.9786, allocations: 383.2 kB / 1.051 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.9788, allocations: 126.9 kB / 1.051 GB, free: 7.164 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.9792, allocations: 334.6 kB / 1.051 GB, free: 6.809 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.9794, allocations: 148.2 kB / 1.051 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.9794, allocations: 4 kB / 1.051 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007137/0.9801, allocations: 0.5191 MB / 1.052 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.9802, allocations: 8 kB / 1.052 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.9802, allocations: 4 kB / 1.052 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.9802, allocations: 12 kB / 1.052 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.9805, allocations: 71.94 kB / 1.052 GB, free: 6.184 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.9805, allocations: 15.98 kB / 1.052 GB, free: 6.168 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.9807, allocations: 46.05 kB / 1.052 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.9808, allocations: 30.81 kB / 1.052 GB, free: 6.109 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: 56 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.warUpCtr.timer.yAcc,warUpCtr.timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,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.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire,$PRE.warUpCtr.timer.reset_internal,warUpCtr.timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0001542/0.981, allocations: 170.5 kB / 1.052 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.981, allocations: 59.25 kB / 1.052 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006697/0.9817, allocations: 403.3 kB / 1.053 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.9817, allocations: 15.88 kB / 1.053 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9817, allocations: 0 / 1.053 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.9817, allocations: 0 / 1.053 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.983, allocations: 1.038 MB / 1.054 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.9831, allocations: 0 / 1.054 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.9832, allocations: 31.8 kB / 1.054 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.9832, allocations: 8 kB / 1.054 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.9832, allocations: 3.875 kB / 1.054 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.9832, allocations: 4 kB / 1.054 GB, free: 4.668 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.9832, allocations: 3.984 kB / 1.054 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.9838, allocations: 467.2 kB / 1.054 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.9839, allocations: 144.1 kB / 1.054 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.984, allocations: 11.5 kB / 1.054 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.9841, allocations: 19.23 kB / 1.054 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.9843, allocations: 53.84 kB / 1.054 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.9843, allocations: 15.94 kB / 1.054 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004548/0.9848, allocations: 420.1 kB / 1.055 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9848, allocations: 0 / 1.055 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004949/0.9853, allocations: 113.8 kB / 1.055 GB, free: 3.621 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 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$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,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.timer.entryTime,warUpCtr.timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001063/0.9864, allocations: 448.3 kB / 1.055 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005835/0.987, allocations: 375.3 kB / 1.056 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.987, allocations: 0 / 1.056 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.9872, allocations: 165.2 kB / 1.056 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.9877, allocations: 79.14 kB / 1.056 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.989, allocations: 0.7851 MB / 1.057 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.9895, allocations: 0.9505 MB / 1.058 GB, free: 1.172 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002709/0.9898, allocations: 84.31 kB / 1.058 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.9899, allocations: 49.92 kB / 1.058 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of SimCode: time 3.41e-07/0.9899, allocations: 4 kB / 1.058 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of Templates: time 0.01184/1.002, allocations: 5.661 MB / 1.063 GB, free: 11.41 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches