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.389/1.389, allocations: 249.3 MB / 261.8 MB, free: 5.816 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.0009683/0.0009686, allocations: 172.9 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.463/1.463, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.000885/0.000885, allocations: 86.47 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.12e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1894, allocations: 106.3 MB / 0.8918 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6898/0.8793, allocations: 139.5 MB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.8796, allocations: 95.86 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04772/0.9273, allocations: 14.38 MB / 1.042 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.627e-06/0.9274, allocations: 0 / 1.042 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.588e-05/0.9274, allocations: 23.94 kB / 1.042 GB, free: 14.9 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001211/0.9287, allocations: 0.8308 MB / 1.043 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.9287, allocations: 8.031 kB / 1.043 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.9289, allocations: 86.97 kB / 1.043 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007373/0.9297, allocations: 440.5 kB / 1.044 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.488e-05/0.9298, allocations: 76.08 kB / 1.044 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/0.9298, allocations: 53.81 kB / 1.044 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008437/0.9307, allocations: 0.5965 MB / 1.044 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.9307, allocations: 3.984 kB / 1.044 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.9308, allocations: 28.27 kB / 1.044 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.9308, allocations: 12 kB / 1.044 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005717/0.9314, allocations: 369.4 kB / 1.045 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.9337, allocations: 2.564 MB / 1.047 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.9342, allocations: 283.9 kB / 1.047 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.9344, allocations: 130.3 kB / 1.048 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.9345, allocations: 7.984 kB / 1.048 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.9348, allocations: 207.3 kB / 1.048 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=40): time 1.933e-06/0.9348, allocations: 0 / 1.048 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.0005503/0.9354, allocations: 339.7 kB / 1.048 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.9354, allocations: 88.61 kB / 1.048 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006087/0.936, allocations: 0.5726 MB / 1.049 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.9361, allocations: 44.14 kB / 1.049 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.9363, allocations: 369.5 kB / 1.049 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.972e-05/0.9364, allocations: 97.47 kB / 1.049 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.9365, allocations: 13.75 kB / 1.049 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.9366, allocations: 384.5 kB / 1.05 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.9369, allocations: 121.2 kB / 1.05 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.9372, allocations: 338.5 kB / 1.05 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.9374, allocations: 150.7 kB / 1.05 GB, free: 7.77 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.9374, allocations: 3.938 kB / 1.05 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007197/0.9382, allocations: 0.5196 MB / 1.051 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.9382, allocations: 4 kB / 1.051 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.9382, allocations: 8 kB / 1.051 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.9382, allocations: 12.75 kB / 1.051 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.9385, allocations: 74.2 kB / 1.051 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.9385, allocations: 19.94 kB / 1.051 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.9388, allocations: 46.23 kB / 1.051 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-05/0.9388, allocations: 23.5 kB / 1.051 GB, free: 7.176 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.0001611/0.939, allocations: 170.9 kB / 1.051 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/0.9391, allocations: 71.05 kB / 1.051 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006212/0.9397, allocations: 403.2 kB / 1.051 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.9397, allocations: 4 kB / 1.051 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9397, allocations: 0 / 1.051 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.9397, allocations: 0 / 1.051 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.9411, allocations: 1.047 MB / 1.052 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.9411, allocations: 4 kB / 1.052 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.9412, allocations: 31.86 kB / 1.052 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.9413, allocations: 4 kB / 1.053 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.9413, allocations: 10.69 kB / 1.053 GB, free: 5.719 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.9413, allocations: 3.984 kB / 1.053 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9413, allocations: 0 / 1.053 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005208/0.9418, allocations: 474.4 kB / 1.053 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.942, allocations: 143.4 kB / 1.053 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.942, allocations: 11.25 kB / 1.053 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.9422, allocations: 15.67 kB / 1.053 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.9423, allocations: 49.8 kB / 1.053 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.9424, allocations: 15.42 kB / 1.053 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004267/0.9428, allocations: 425.1 kB / 1.054 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9428, allocations: 0 / 1.054 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004749/0.9433, allocations: 125.2 kB / 1.054 GB, free: 4.66 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.0009303/0.9442, allocations: 434.5 kB / 1.054 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005787/0.9448, allocations: 384.9 kB / 1.055 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9448, allocations: 0 / 1.055 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.945, allocations: 164.8 kB / 1.055 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.9455, allocations: 84.03 kB / 1.055 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.9467, allocations: 0.8012 MB / 1.056 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.9472, allocations: 0.9488 MB / 1.056 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000225/0.9474, allocations: 84.33 kB / 1.057 GB, free: 2.113 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.9475, allocations: 46.61 kB / 1.057 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of SimCode: time 3.31e-07/0.9476, allocations: 0 / 1.057 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of Templates: time 0.01109/0.9587, allocations: 5.639 MB / 1.062 GB, free: 12.46 MB / 0.6823 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