Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 212.2 kB / 23 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.154/3.154, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.75 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3447, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.003582/0.3483, allocations: 2.108 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.35, allocations: 0.8963 MB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.3501, allocations: 7.938 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.3503, allocations: 51.41 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.3505, allocations: 67.44 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.3511, allocations: 251.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007174/0.3518, allocations: 0.6555 MB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000498/0.3523, allocations: 351.4 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.3526, allocations: 223.4 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.3529, allocations: 235 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.971e-05/0.353, allocations: 64 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.3531, allocations: 79.98 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.3533, allocations: 147.6 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.3535, allocations: 195.1 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007781/0.3543, allocations: 0.7083 MB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3543, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3543, allocations: 3.938 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.3543, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 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.001395/0.3557, allocations: 0.6934 MB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3557, allocations: 12.03 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.3561, allocations: 72.58 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.3566, allocations: 298.2 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.3567, allocations: 37.38 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.609e-05/0.3568, allocations: 52.38 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.3578, allocations: 0.5255 MB / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.3578, allocations: 0 / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.3578, allocations: 16 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.3579, allocations: 21 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008832/0.3588, allocations: 439.8 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.3609, allocations: 1.143 MB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/0.3617, allocations: 370.3 kB / 1.337 GB, free: 7.215 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.362, allocations: 178.1 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.3621, allocations: 4.438 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00055/0.3626, allocations: 265.3 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of pre-optimization done (n=52): time 3.357e-06/0.3626, allocations: 4 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=52): time 0.001228/0.3639, allocations: 0.5419 MB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.3639, allocations: 63.83 kB / 1.338 GB, free: 6.133 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.3642, allocations: 263.4 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.3642, allocations: 53.69 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.3644, allocations: 193.5 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.3645, allocations: 138.9 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.3648, allocations: 142.3 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3649, allocations: 346.8 kB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.3654, allocations: 210.9 kB / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.3658, allocations: 303.6 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/0.3666, allocations: 409.1 kB / 1.339 GB, free: 4.016 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.3666, allocations: 0 / 1.339 GB, free: 4.016 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001084/0.3676, allocations: 0.5862 MB / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.3677, allocations: 37.7 kB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3677, allocations: 224 / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.3677, allocations: 12 kB / 1.34 GB, free: 3.355 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.368, allocations: 67.83 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.368, allocations: 4 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.3684, allocations: 99.53 kB / 1.34 GB, free: 3.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/0.3685, allocations: 24 kB / 1.34 GB, free: 3.164 MB / 1.029 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.000281/0.3688, allocations: 221.6 kB / 1.341 GB, free: 2.938 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.3688, allocations: 31.81 kB / 1.341 GB, free: 2.906 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008986/0.3697, allocations: 435.7 kB / 1.341 GB, free: 2.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3697, allocations: 3.938 kB / 1.341 GB, free: 2.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3697, allocations: 8 kB / 1.341 GB, free: 2.469 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.3698, allocations: 39.67 kB / 1.341 GB, free: 2.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.3698, allocations: 8 kB / 1.341 GB, free: 2.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.3701, allocations: 39.95 kB / 1.341 GB, free: 2.383 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.3703, allocations: 76.33 kB / 1.341 GB, free: 2.305 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001014/0.3713, allocations: 0.5035 MB / 1.342 GB, free: 1.793 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008778/0.3721, allocations: 0.585 MB / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003813/0.3725, allocations: 191.4 kB / 1.342 GB, free: 1.008 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001443/0.3727, allocations: 149.5 kB / 1.343 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of Backend: time 3.61e-07/0.3727, allocations: 0 / 1.343 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.3737, allocations: 457.4 kB / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of SimCode: time 0.001299/0.375, allocations: 1.025 MB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of Templates: time 0.01152/0.3865, allocations: 6.071 MB / 1.35 GB, free: 9.332 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.831103423995955]