Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 112.7 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6545/0.6556, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.003119/0.6588, allocations: 2.166 MB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.6601, allocations: 0.8775 MB / 1.092 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.6602, allocations: 5.875 kB / 1.092 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.6604, allocations: 56.5 kB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.6606, allocations: 61.08 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.6611, allocations: 246.2 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006451/0.6617, allocations: 0.648 MB / 1.093 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005332/0.6623, allocations: 426.7 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.6625, allocations: 221.1 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.6627, allocations: 232.5 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.701e-05/0.6628, allocations: 64.5 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.663, allocations: 79.56 kB / 1.094 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.6631, allocations: 144.9 kB / 1.094 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.6633, allocations: 240.5 kB / 1.094 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000681/0.664, allocations: 0.6991 MB / 1.095 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.664, allocations: 5.188 kB / 1.095 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.664, allocations: 3.938 kB / 1.095 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.664, allocations: 0 / 1.095 GB, free: 1.852 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001165/0.6652, allocations: 0.7632 MB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.6652, allocations: 9 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.6653, allocations: 50.45 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.6657, allocations: 338.5 kB / 1.096 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/0.6658, allocations: 45.52 kB / 1.096 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.6658, allocations: 52.08 kB / 1.096 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.6669, allocations: 0.5283 MB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.6669, allocations: 0 / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.6669, allocations: 18.2 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.667, allocations: 17.78 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008975/0.6679, allocations: 452.7 kB / 1.097 GB, free: 500 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.67, allocations: 1.396 MB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008396/0.6708, allocations: 409.4 kB / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000387/0.6712, allocations: 205.7 kB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.6713, allocations: 10.59 kB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005328/0.6718, allocations: 265.3 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=52): time 2.114e-06/0.6718, allocations: 4 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=52): time 0.001228/0.6731, allocations: 0.5408 MB / 1.1 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.6731, allocations: 77.2 kB / 1.1 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.6734, allocations: 271 kB / 1.1 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.6735, allocations: 52.03 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.6737, allocations: 193.4 kB / 1.1 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.6738, allocations: 127.4 kB / 1.1 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.674, allocations: 145 kB / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6741, allocations: 346.5 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.6746, allocations: 187.9 kB / 1.101 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.6751, allocations: 269.9 kB / 1.101 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007414/0.6758, allocations: 410.6 kB / 1.102 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6758, allocations: 0.9062 kB / 1.102 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001103/0.677, allocations: 0.5601 MB / 1.102 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.677, allocations: 37.19 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.677, allocations: 6.812 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.6771, allocations: 4.625 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.6774, allocations: 68.83 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.6774, allocations: 9.141 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.6779, allocations: 104.4 kB / 1.102 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/0.6779, allocations: 22.73 kB / 1.102 GB, free: 13.31 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,cooModCon.swi.expr[3],cooModCon.swi.expr[2],cooModCon.swi.expr[1],cooModCon.con3.localCondition,TCHWLeaWSE.count,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.T_start,cooModCon.swi.firstActiveIndex,cooModCon.swi.y,$PRE.cooModCon.swi.y,cooModCon.stateGraphRoot.activeSteps,cooModCon.con4.t_start,$PRE.cooModCon.con4.t_start,cooModCon.con4.fire,cooModCon.con4.enableFire,cooModCon.con4.localCondition,cooModCon.con3.t_start,$PRE.cooModCon.con3.t_start,cooModCon.con3.fire,cooModCon.con3.enableFire,cooModCon.con2.t_start,$PRE.cooModCon.con2.t_start,cooModCon.con2.fire,cooModCon.con2.enableFire,cooModCon.con2.localCondition,cooModCon.fulMecCoo.active,cooModCon.fulMecCoo.oldActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.freCoo.active,cooModCon.freCoo.oldActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.localActive,cooModCon.parMecCoo.active,cooModCon.parMecCoo.oldActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.localActive,$PRE.cooModCon.parMecCoo.localActive,cooModCon.con1.t_start,$PRE.cooModCon.con1.t_start,cooModCon.con1.fire,cooModCon.con1.enableFire,cooModCon.con1.localCondition,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003104/0.6783, allocations: 233.4 kB / 1.103 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.6783, allocations: 31.52 kB / 1.103 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.6793, allocations: 486 kB / 1.103 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.6794, allocations: 6.703 kB / 1.103 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6794, allocations: 3.938 kB / 1.103 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.6795, allocations: 113 kB / 1.103 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.6795, allocations: 12.59 kB / 1.103 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.6798, allocations: 42.16 kB / 1.103 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.68, allocations: 71.98 kB / 1.103 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001059/0.681, allocations: 0.547 MB / 1.104 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008782/0.6819, allocations: 0.6231 MB / 1.104 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004088/0.6824, allocations: 238.7 kB / 1.105 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001447/0.6825, allocations: 164.5 kB / 1.105 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of Backend: time 4.91e-07/0.6825, allocations: 0 / 1.105 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009835/0.6835, allocations: 462.1 kB / 1.105 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001177/0.6847, allocations: 1.032 MB / 1.106 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.01062/0.6953, allocations: 5.613 MB / 1.112 GB, free: 10.47 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches