Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 249.5 MB / 257 MB, free: 6.875 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.001008/0.001008, allocations: 180.8 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.385/1.385, 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.0008901/0.00089, allocations: 89.55 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/2.003e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1969, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6859/0.8828, allocations: 139.8 MB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.8831, allocations: 92.44 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03452/0.9176, allocations: 14.18 MB / 1.036 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.092e-05/0.9177, allocations: 0 / 1.036 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.149e-05/0.9177, allocations: 19.94 kB / 1.036 GB, free: 2.027 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001144/0.9189, allocations: 0.8276 MB / 1.037 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.9189, allocations: 8.031 kB / 1.037 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.9191, allocations: 86.97 kB / 1.037 GB, free: 1.102 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.9197, allocations: 443.1 kB / 1.037 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.123e-05/0.9198, allocations: 51.02 kB / 1.037 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.9199, allocations: 43.05 kB / 1.037 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005217/0.9204, allocations: 314.8 kB / 1.037 GB, free: 400 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/0.9212, allocations: 0.5277 MB / 1.038 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.9213, allocations: 3.953 kB / 1.038 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.9213, allocations: 4 kB / 1.038 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.9213, allocations: 12 kB / 1.038 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.9238, allocations: 2.469 MB / 1.04 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005303/0.9244, allocations: 253.4 kB / 1.041 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.9246, allocations: 124.2 kB / 1.041 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.9246, allocations: 7.953 kB / 1.041 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003537/0.925, allocations: 186.9 kB / 1.041 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=40): time 3.066e-06/0.925, allocations: 0 / 1.041 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.000622/0.9256, allocations: 318.8 kB / 1.041 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.9257, allocations: 81.11 kB / 1.041 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000707/0.9264, allocations: 0.5477 MB / 1.042 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.9265, allocations: 36.95 kB / 1.042 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.9268, allocations: 364.7 kB / 1.042 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.9269, allocations: 91.98 kB / 1.042 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.9269, allocations: 0 / 1.042 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.9271, allocations: 386.9 kB / 1.043 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.9273, allocations: 118.4 kB / 1.043 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.9276, allocations: 316.1 kB / 1.043 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.9278, allocations: 136.4 kB / 1.043 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.9278, allocations: 0 / 1.043 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006527/0.9285, allocations: 465.3 kB / 1.044 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.9285, allocations: 11.95 kB / 1.044 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.9285, allocations: 4.812 kB / 1.044 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.9286, allocations: 12 kB / 1.044 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.9288, allocations: 79.02 kB / 1.044 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.9289, allocations: 11.94 kB / 1.044 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.9291, allocations: 27.69 kB / 1.044 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/0.9291, allocations: 34.23 kB / 1.044 GB, free: 10.66 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: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.entryTime,timer.entryTime,timeDel.y,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0001649/0.9293, allocations: 148.8 kB / 1.044 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/0.9294, allocations: 67.19 kB / 1.044 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000658/0.9301, allocations: 375 kB / 1.044 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.9301, allocations: 4 kB / 1.044 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.9301, allocations: 0 / 1.044 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.9301, allocations: 3.984 kB / 1.044 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.9313, allocations: 0.9368 MB / 1.045 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.9314, allocations: 11.95 kB / 1.045 GB, free: 9.344 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.9315, allocations: 26.8 kB / 1.045 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.9315, allocations: 0 / 1.045 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.9315, allocations: 11.11 kB / 1.045 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.9315, allocations: 0 / 1.045 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.9315, allocations: 0 / 1.045 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.9321, allocations: 446.4 kB / 1.046 GB, free: 8.922 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.9322, allocations: 143.3 kB / 1.046 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.9323, allocations: 7.984 kB / 1.046 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.9324, allocations: 8 kB / 1.046 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.9326, allocations: 46.61 kB / 1.046 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.9326, allocations: 21.3 kB / 1.046 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003806/0.933, allocations: 386.3 kB / 1.046 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.933, allocations: 0 / 1.046 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004696/0.9335, allocations: 103.5 kB / 1.046 GB, free: 8.316 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: 38 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.entryTime,timer.yAcc,timeDel.y) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * 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.0009111/0.9344, allocations: 420.2 kB / 1.047 GB, free: 7.984 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005282/0.9349, allocations: 353.5 kB / 1.047 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9349, allocations: 0 / 1.047 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.9351, allocations: 152.4 kB / 1.047 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.9356, allocations: 71.78 kB / 1.047 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.9368, allocations: 0.7778 MB / 1.048 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.9374, allocations: 0.9529 MB / 1.049 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002359/0.9376, allocations: 88.25 kB / 1.049 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.9377, allocations: 47.05 kB / 1.049 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of SimCode: time 2.51e-07/0.9377, allocations: 0 / 1.049 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of Templates: time 0.0108/0.9485, allocations: 5.02 MB / 1.054 GB, free: 0.7969 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches