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.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.914 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.0009531/0.000953, allocations: 184.8 kB / 316.3 MB, free: 3.254 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.479/1.479, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008061/0.0008062, allocations: 87.38 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.334e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2335, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7217/0.9552, allocations: 140.8 MB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.9555, allocations: 96.25 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03691/0.9924, allocations: 14.26 MB / 1.037 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9925, allocations: 0 / 1.037 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.116e-05/0.9925, allocations: 15.94 kB / 1.037 GB, free: 1.07 MB / 0.6511 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.001325/0.9939, allocations: 0.8312 MB / 1.038 GB, free: 240 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.9939, allocations: 12.03 kB / 1.038 GB, free: 228 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.9941, allocations: 82.97 kB / 1.038 GB, free: 144 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000809/0.9949, allocations: 450.5 kB / 1.038 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.032e-05/0.995, allocations: 54.95 kB / 1.038 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.9951, allocations: 35.98 kB / 1.038 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006323/0.9958, allocations: 320.5 kB / 1.038 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008941/0.9967, allocations: 0.5324 MB / 1.039 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.9967, allocations: 0 / 1.039 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.9967, allocations: 4 kB / 1.039 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.9968, allocations: 16 kB / 1.039 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/0.9995, allocations: 2.558 MB / 1.041 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/1, allocations: 242.2 kB / 1.042 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/1, allocations: 118.6 kB / 1.042 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/1, allocations: 4 kB / 1.042 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003751/1.001, allocations: 195.3 kB / 1.042 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/1.001, allocations: 0 / 1.042 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.0005877/1.001, allocations: 311.2 kB / 1.042 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/1.001, allocations: 85.09 kB / 1.042 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/1.002, allocations: 0.5385 MB / 1.043 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/1.002, allocations: 36.69 kB / 1.043 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/1.002, allocations: 371.1 kB / 1.043 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.206e-05/1.002, allocations: 93.34 kB / 1.043 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/1.002, allocations: 0 / 1.043 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.002, allocations: 380.2 kB / 1.044 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/1.003, allocations: 116.9 kB / 1.044 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/1.003, allocations: 317.2 kB / 1.044 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/1.003, allocations: 136 kB / 1.044 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.003, allocations: 4 kB / 1.044 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0006564/1.004, allocations: 462.8 kB / 1.045 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.004, allocations: 8 kB / 1.045 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.004, allocations: 7.938 kB / 1.045 GB, free: 9.758 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.004, allocations: 12 kB / 1.045 GB, free: 9.746 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/1.004, allocations: 80.3 kB / 1.045 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/1.004, allocations: 11.94 kB / 1.045 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/1.005, allocations: 27.75 kB / 1.045 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/1.005, allocations: 30.92 kB / 1.045 GB, free: 9.609 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.0001617/1.005, allocations: 153.7 kB / 1.045 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/1.005, allocations: 63.2 kB / 1.045 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006509/1.005, allocations: 366.3 kB / 1.045 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.005, allocations: 15.94 kB / 1.046 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.006, allocations: 0 / 1.046 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.006, allocations: 3.984 kB / 1.046 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/1.007, allocations: 0.9347 MB / 1.046 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/1.007, allocations: 4 kB / 1.046 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/1.007, allocations: 27.3 kB / 1.046 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.007, allocations: 4 kB / 1.046 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/1.007, allocations: 7.984 kB / 1.046 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.007, allocations: 0 / 1.046 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.007, allocations: 0 / 1.046 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005969/1.008, allocations: 445.6 kB / 1.047 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/1.008, allocations: 142.4 kB / 1.047 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/1.008, allocations: 4 kB / 1.047 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/1.008, allocations: 11.98 kB / 1.047 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/1.008, allocations: 53.67 kB / 1.047 GB, free: 7.676 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/1.008, allocations: 12 kB / 1.047 GB, free: 7.664 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004267/1.009, allocations: 385.9 kB / 1.047 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.61e-07/1.009, allocations: 4 kB / 1.047 GB, free: 7.379 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000509/1.009, allocations: 99.53 kB / 1.048 GB, free: 7.285 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.001004/1.01, allocations: 408.8 kB / 1.048 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005968/1.011, allocations: 347.9 kB / 1.048 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.011, allocations: 0 / 1.048 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/1.011, allocations: 157 kB / 1.048 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/1.011, allocations: 75.69 kB / 1.049 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/1.013, allocations: 0.7691 MB / 1.049 GB, free: 5.859 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/1.013, allocations: 0.9534 MB / 1.05 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002588/1.014, allocations: 80.33 kB / 1.05 GB, free: 4.812 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/1.014, allocations: 43.38 kB / 1.05 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of SimCode: time 3.5e-07/1.014, allocations: 0 / 1.05 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of Templates: time 0.011/1.025, allocations: 5.069 MB / 1.055 GB, free: 15.75 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