Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.001431/0.001431, allocations: 107.7 kB / 16.41 MB, free: 6.492 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.001605/0.001605, allocations: 192.2 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.552/2.552, allocations: 461.7 MB / 0.7352 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 67.89 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8801/0.8817, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage): time 0.004754/0.8865, allocations: 2.726 MB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003281/0.8898, allocations: 1.73 MB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.8903, allocations: 7.938 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005976/0.8909, allocations: 166.9 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006437/0.8916, allocations: 171 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.8931, allocations: 0.536 MB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.8942, allocations: 0.8309 MB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009232/0.8952, allocations: 0.4959 MB / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005748/0.8958, allocations: 306.9 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000586/0.8964, allocations: 338.6 kB / 1.215 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.8966, allocations: 76 kB / 1.215 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.897, allocations: 167.9 kB / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.8972, allocations: 191.4 kB / 1.216 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003489/0.8976, allocations: 314.4 kB / 1.216 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.8987, allocations: 0.9556 MB / 1.217 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8987, allocations: 0 / 1.217 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8987, allocations: 0 / 1.217 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.065e-05/0.8987, allocations: 0 / 1.217 GB, free: 4.605 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001794/0.9005, allocations: 0.9971 MB / 1.218 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.9006, allocations: 8.031 kB / 1.218 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.9008, allocations: 72.09 kB / 1.218 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.9014, allocations: 462.9 kB / 1.218 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/0.9015, allocations: 53.31 kB / 1.219 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.71e-05/0.9016, allocations: 60.12 kB / 1.219 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.9027, allocations: 0.5622 MB / 1.219 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.9027, allocations: 0 / 1.219 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.792e-05/0.9028, allocations: 16 kB / 1.219 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.9028, allocations: 12 kB / 1.219 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.9037, allocations: 459.7 kB / 1.22 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.9061, allocations: 1.527 MB / 1.221 GB, free: 228 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009907/0.9071, allocations: 0.4908 MB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/0.9075, allocations: 238.4 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.9076, allocations: 12.55 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006249/0.9082, allocations: 311 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=63): time 2.415e-06/0.9083, allocations: 0 / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=63): time 0.001552/0.9098, allocations: 0.6623 MB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/0.9099, allocations: 119.4 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006724/0.9106, allocations: 0.5011 MB / 1.223 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-05/0.9107, allocations: 49.7 kB / 1.223 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.9109, allocations: 249.2 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.9111, allocations: 161.9 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/0.9114, allocations: 158.6 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.9116, allocations: 362.8 kB / 1.224 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.912, allocations: 197.9 kB / 1.224 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.9126, allocations: 328.8 kB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008065/0.9134, allocations: 446 kB / 1.225 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9134, allocations: 0 / 1.225 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001137/0.9146, allocations: 0.6232 MB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.9146, allocations: 37.64 kB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.9146, allocations: 0 / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.9147, allocations: 8 kB / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.915, allocations: 75.83 kB / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.915, allocations: 11.98 kB / 1.226 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.9154, allocations: 87.45 kB / 1.226 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/0.9155, allocations: 35.98 kB / 1.226 GB, free: 10.94 MB / 0.9512 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.0003153/0.9158, allocations: 261.6 kB / 1.226 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.599e-05/0.9159, allocations: 51.34 kB / 1.226 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.9171, allocations: 0.5709 MB / 1.227 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.9171, allocations: 3.984 kB / 1.227 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.9171, allocations: 0 / 1.227 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.9172, allocations: 132.3 kB / 1.227 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.9173, allocations: 16 kB / 1.227 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.9176, allocations: 47.94 kB / 1.227 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.9178, allocations: 84.45 kB / 1.227 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001265/0.9191, allocations: 0.6392 MB / 1.228 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001063/0.9202, allocations: 0.7053 MB / 1.228 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004699/0.9206, allocations: 272.4 kB / 1.229 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003466/0.921, allocations: 335.1 kB / 1.229 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of Backend: time 6.51e-07/0.921, allocations: 0 / 1.229 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002672/0.9237, allocations: 1.13 MB / 1.23 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001712/0.9254, allocations: 1.322 MB / 1.231 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of Templates: time 0.0165/0.9419, allocations: 8.55 MB / 1.24 GB, free: 13.14 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches