Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, 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.001863/0.001863, 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.15 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.426/2.426, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 71.83 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/0.745, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage): time 0.00402/0.7491, allocations: 2.736 MB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002837/0.752, allocations: 1.737 MB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.7523, allocations: 11.94 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004729/0.7528, allocations: 159 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.7533, allocations: 175 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.7546, allocations: 0.5274 MB / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009721/0.7556, allocations: 0.8426 MB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000713/0.7563, allocations: 499.9 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.7567, allocations: 310.9 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000485/0.7572, allocations: 330.6 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.7574, allocations: 76 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.7577, allocations: 163.9 kB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.7579, allocations: 191.4 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.7583, allocations: 322.3 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.7593, allocations: 0.9635 MB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.7593, allocations: 4 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7593, allocations: 0 / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.977e-05/0.7594, allocations: 0 / 1.176 GB, free: 10.8 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001909/0.7613, allocations: 0.9932 MB / 1.177 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.7613, allocations: 11.98 kB / 1.177 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.7615, allocations: 72.09 kB / 1.177 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/0.7621, allocations: 466.9 kB / 1.178 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.7622, allocations: 49.38 kB / 1.178 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.562e-05/0.7623, allocations: 60.11 kB / 1.178 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.7634, allocations: 0.5622 MB / 1.178 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.7634, allocations: 4 kB / 1.178 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.7635, allocations: 16 kB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.7635, allocations: 12 kB / 1.178 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000993/0.7645, allocations: 451.7 kB / 1.179 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.767, allocations: 1.531 MB / 1.18 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009934/0.768, allocations: 0.4903 MB / 1.181 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.7685, allocations: 244 kB / 1.181 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.312e-05/0.7685, allocations: 8.562 kB / 1.181 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006127/0.7692, allocations: 315 kB / 1.181 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=63): time 2.445e-06/0.7692, allocations: 0 / 1.181 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of matching and sorting (n=63): time 0.001443/0.7706, allocations: 0.6622 MB / 1.182 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.7707, allocations: 115.4 kB / 1.182 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.7713, allocations: 0.5011 MB / 1.182 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.7713, allocations: 53.69 kB / 1.182 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.7715, allocations: 253.2 kB / 1.183 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.7717, allocations: 157.9 kB / 1.183 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.7719, allocations: 150.6 kB / 1.183 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.7721, allocations: 366.8 kB / 1.183 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/0.7726, allocations: 193.9 kB / 1.184 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.7731, allocations: 328.8 kB / 1.184 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008217/0.7739, allocations: 445.9 kB / 1.184 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7739, allocations: 8 kB / 1.184 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001195/0.7751, allocations: 0.6192 MB / 1.185 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.7752, allocations: 33.7 kB / 1.185 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.7752, allocations: 0 / 1.185 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.7752, allocations: 4 kB / 1.185 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.7756, allocations: 91.69 kB / 1.185 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.7756, allocations: 4.25 kB / 1.185 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.7761, allocations: 95.34 kB / 1.185 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.7761, allocations: 28 kB / 1.185 GB, free: 1.148 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition5,TCHWSup.count,$PRE.TCHWSup.count,TCHWSup.T_start,$PRE.TCHWSup.T_start,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,chiStaCon.addInt.y,chiStaCon.booToInt1.y,chiStaCon.booToInt.y,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.con4.t_start,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.fire,chiStaCon.con4.enableFire,chiStaCon.con4.localCondition,chiStaCon.con3.t_start,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.fire,chiStaCon.con3.enableFire,chiStaCon.con3.localCondition,chiStaCon.con2.t_start,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.fire,chiStaCon.con2.enableFire,chiStaCon.con2.localCondition,chiStaCon.twoOn.active,chiStaCon.twoOn.oldActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.localActive,chiStaCon.off.oldActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.localActive,chiStaCon.off.active,chiStaCon.oneOn.active,chiStaCon.oneOn.oldActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.localActive,$PRE.chiStaCon.oneOn.localActive,chiStaCon.con1.t_start,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.fire,chiStaCon.con1.enableFire,chiStaCon.con1.localCondition,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition6,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.000336/0.7765, allocations: 269.6 kB / 1.185 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.423e-05/0.7766, allocations: 51.34 kB / 1.185 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.7778, allocations: 0.5708 MB / 1.186 GB, free: 248 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.7778, allocations: 3.984 kB / 1.186 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.7778, allocations: 0 / 1.186 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.7779, allocations: 128.4 kB / 1.186 GB, free: 96 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/0.778, allocations: 19.98 kB / 1.186 GB, free: 76 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.7784, allocations: 51.95 kB / 1.186 GB, free: 24 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.7786, allocations: 84.45 kB / 1.186 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001339/0.7799, allocations: 0.6353 MB / 1.187 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001124/0.7811, allocations: 0.7131 MB / 1.188 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004846/0.7816, allocations: 272.3 kB / 1.188 GB, free: 14.3 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000353/0.7819, allocations: 331.1 kB / 1.188 GB, free: 13.98 MB / 0.92 GB Notification: Performance of Backend: time 3.8e-07/0.7819, allocations: 0 / 1.188 GB, free: 13.98 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002862/0.7848, allocations: 1.121 MB / 1.189 GB, free: 13.12 MB / 0.92 GB Notification: Performance of SimCode: time 0.001712/0.7865, allocations: 1.333 MB / 1.191 GB, free: 11.73 MB / 0.92 GB Notification: Performance of Templates: time 0.01543/0.802, allocations: 8.636 MB / 1.199 GB, free: 3.141 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches