Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001648/0.001648, allocations: 113.5 kB / 16.42 MB, free: 6.441 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.001914/0.001914, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.464/2.464, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.7284, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.003432/0.7318, allocations: 2.159 MB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.7336, allocations: 0.8767 MB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.7339, allocations: 11.94 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.7341, allocations: 51.41 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.7343, allocations: 67.39 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006102/0.735, allocations: 247.7 kB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007436/0.7357, allocations: 0.6555 MB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005671/0.7363, allocations: 403 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.7366, allocations: 219.3 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.7369, allocations: 243 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.7371, allocations: 67.94 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.7372, allocations: 79.98 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.7374, allocations: 143.6 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.7377, allocations: 246.8 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006888/0.7384, allocations: 0.6969 MB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7384, allocations: 4 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7384, allocations: 0 / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.051e-05/0.7384, allocations: 4 kB / 1.173 GB, free: 13.71 MB / 0.9044 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.00138/0.7398, allocations: 0.7516 MB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.7398, allocations: 16.88 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.74, allocations: 48.38 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.7404, allocations: 351.5 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.7405, allocations: 37.38 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/0.7405, allocations: 52.38 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009977/0.7415, allocations: 0.5294 MB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.7416, allocations: 4 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.7416, allocations: 16 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.7417, allocations: 20.94 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009176/0.7426, allocations: 443.8 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.7447, allocations: 1.398 MB / 1.177 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008581/0.7456, allocations: 418.3 kB / 1.177 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003982/0.746, allocations: 202.1 kB / 1.177 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.7461, allocations: 8.438 kB / 1.177 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005209/0.7466, allocations: 265.3 kB / 1.178 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 2.735e-06/0.7466, allocations: 4 kB / 1.178 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.00119/0.7478, allocations: 0.5417 MB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.7479, allocations: 67.77 kB / 1.178 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.7482, allocations: 268.6 kB / 1.179 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.814e-05/0.7482, allocations: 57.69 kB / 1.179 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.7484, allocations: 193.2 kB / 1.179 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.7485, allocations: 134.3 kB / 1.179 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.7487, allocations: 142.3 kB / 1.179 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7489, allocations: 346.8 kB / 1.179 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.7493, allocations: 185.2 kB / 1.18 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.7498, allocations: 273.9 kB / 1.18 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006794/0.7505, allocations: 409 kB / 1.18 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7505, allocations: 0 / 1.18 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.000988/0.7515, allocations: 0.5609 MB / 1.181 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.7516, allocations: 37.91 kB / 1.181 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7516, allocations: 4 kB / 1.181 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.7516, allocations: 8 kB / 1.181 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.7519, allocations: 67.83 kB / 1.181 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.7519, allocations: 15.81 kB / 1.181 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.7523, allocations: 107.3 kB / 1.181 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.7524, allocations: 23.98 kB / 1.181 GB, free: 5.492 MB / 0.9044 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.0002462/0.7526, allocations: 225.6 kB / 1.181 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.7527, allocations: 27.62 kB / 1.181 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009422/0.7537, allocations: 495.1 kB / 1.182 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.7537, allocations: 0 / 1.182 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7537, allocations: 3.938 kB / 1.182 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.7538, allocations: 112.6 kB / 1.182 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-05/0.7538, allocations: 12 kB / 1.182 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.7541, allocations: 43.95 kB / 1.182 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.7543, allocations: 72.47 kB / 1.182 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001043/0.7553, allocations: 0.5456 MB / 1.182 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008828/0.7562, allocations: 0.6234 MB / 1.183 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003898/0.7566, allocations: 232.4 kB / 1.183 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001328/0.7568, allocations: 160.5 kB / 1.183 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of Backend: time 4.71e-07/0.7568, allocations: 0 / 1.183 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000985/0.7578, allocations: 461.4 kB / 1.184 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00114/0.7589, allocations: 1.041 MB / 1.185 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of Templates: time 0.01065/0.7696, allocations: 5.627 MB / 1.19 GB, free: 11.77 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches