Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001817/0.001817, allocations: 112 kB / 16.42 MB, free: 6.453 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.002131/0.002131, allocations: 190.5 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.691/1.691, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.761/3.761, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 64.12 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158/1.16, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.003824/1.163, allocations: 2.162 MB / 1.211 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001766/1.165, allocations: 0.8883 MB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/1.166, allocations: 7.938 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002349/1.166, allocations: 55.41 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000279/1.166, allocations: 55.45 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006517/1.167, allocations: 251.6 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007797/1.168, allocations: 0.6438 MB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006817/1.168, allocations: 411 kB / 1.213 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/1.169, allocations: 227.2 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/1.169, allocations: 243 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/1.169, allocations: 64 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/1.169, allocations: 79.98 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/1.169, allocations: 127.7 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/1.17, allocations: 254.8 kB / 1.214 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007155/1.17, allocations: 0.6988 MB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.17, allocations: 4 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/1.17, allocations: 0 / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.152e-05/1.17, allocations: 0 / 1.214 GB, free: 7.617 MB / 0.9356 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.001519/1.172, allocations: 0.7576 MB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.172, allocations: 16.02 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/1.172, allocations: 48.38 kB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/1.173, allocations: 339.5 kB / 1.216 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/1.173, allocations: 45.38 kB / 1.216 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.914e-05/1.173, allocations: 48.38 kB / 1.216 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.174, allocations: 0.5256 MB / 1.216 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/1.174, allocations: 0 / 1.216 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/1.174, allocations: 24 kB / 1.216 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/1.174, allocations: 20.94 kB / 1.216 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009607/1.175, allocations: 443.7 kB / 1.217 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/1.177, allocations: 1.398 MB / 1.218 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008999/1.178, allocations: 405.2 kB / 1.218 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/1.179, allocations: 204.1 kB / 1.219 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.363e-05/1.179, allocations: 12.42 kB / 1.219 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005471/1.179, allocations: 265.3 kB / 1.219 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=52): time 3.727e-06/1.179, allocations: 0 / 1.219 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=52): time 0.001247/1.181, allocations: 0.5455 MB / 1.219 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/1.181, allocations: 67.78 kB / 1.219 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/1.181, allocations: 276.6 kB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/1.181, allocations: 45.7 kB / 1.22 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/1.181, allocations: 201.2 kB / 1.22 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.181, allocations: 130.3 kB / 1.22 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/1.182, allocations: 142.3 kB / 1.22 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.182, allocations: 346.8 kB / 1.22 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/1.182, allocations: 185.2 kB / 1.221 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/1.183, allocations: 274 kB / 1.221 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007607/1.183, allocations: 409 kB / 1.221 GB, free: 236 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.183, allocations: 0 / 1.221 GB, free: 236 kB / 0.9356 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001119/1.185, allocations: 0.5649 MB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/1.185, allocations: 37.7 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.185, allocations: 8 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.185, allocations: 4 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/1.185, allocations: 67.83 kB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/1.185, allocations: 7.938 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/1.185, allocations: 111.3 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.456e-05/1.186, allocations: 24 kB / 1.222 GB, free: 15.39 MB / 0.9512 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.0003061/1.186, allocations: 230.1 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/1.186, allocations: 35.62 kB / 1.222 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009733/1.187, allocations: 483.1 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/1.187, allocations: 3.984 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.187, allocations: 3.938 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.715e-05/1.187, allocations: 112.6 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/1.187, allocations: 11.98 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/1.187, allocations: 51.95 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/1.188, allocations: 64.48 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00111/1.189, allocations: 0.5495 MB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009759/1.19, allocations: 0.6273 MB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004059/1.19, allocations: 224.4 kB / 1.224 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001611/1.19, allocations: 168.5 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of Backend: time 4.21e-07/1.19, allocations: 4 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001111/1.191, allocations: 457.5 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001393/1.193, allocations: 1.034 MB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of Templates: time 0.01213/1.205, allocations: 5.837 MB / 1.232 GB, free: 5.484 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches