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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001114/0.001114, allocations: 108.3 kB / 16.41 MB, free: 6.508 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.001034/0.001034, allocations: 188.3 kB / 17.35 MB, free: 5.734 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.595/2.595, allocations: 472.7 MB / 0.746 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.89 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7339/0.7351, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage): time 0.003725/0.7389, allocations: 2.717 MB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.7414, allocations: 1.741 MB / 1.231 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.7417, allocations: 11.94 kB / 1.231 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.7421, allocations: 151 kB / 1.231 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.7425, allocations: 187 kB / 1.231 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.7436, allocations: 0.5202 MB / 1.232 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007725/0.7444, allocations: 0.8387 MB / 1.232 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004895/0.7449, allocations: 0.5037 MB / 1.233 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.7452, allocations: 306.9 kB / 1.233 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.7455, allocations: 334.6 kB / 1.233 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.957e-05/0.7456, allocations: 76 kB / 1.234 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.7459, allocations: 171.9 kB / 1.234 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.746, allocations: 191.4 kB / 1.234 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.7463, allocations: 314.4 kB / 1.234 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008519/0.7471, allocations: 0.9695 MB / 1.235 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.7472, allocations: 0 / 1.235 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7472, allocations: 0 / 1.235 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.7472, allocations: 0 / 1.235 GB, free: 4.484 MB / 0.9512 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.001445/0.7486, allocations: 1.004 MB / 1.236 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.7487, allocations: 12.03 kB / 1.236 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.7488, allocations: 76.47 kB / 1.236 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/0.7493, allocations: 479 kB / 1.237 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.7494, allocations: 45.38 kB / 1.237 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.629e-05/0.7495, allocations: 68.11 kB / 1.237 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009105/0.7504, allocations: 0.5583 MB / 1.237 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.7504, allocations: 0 / 1.237 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/0.7505, allocations: 20 kB / 1.237 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.7505, allocations: 12 kB / 1.237 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/0.7513, allocations: 455.7 kB / 1.238 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.7534, allocations: 1.528 MB / 1.239 GB, free: 80 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008806/0.7543, allocations: 0.4903 MB / 1.24 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/0.7547, allocations: 234.4 kB / 1.24 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.7548, allocations: 12.55 kB / 1.24 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000529/0.7553, allocations: 322.9 kB / 1.24 GB, free: 15 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=63): time 2.154e-06/0.7553, allocations: 0 / 1.24 GB, free: 15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=63): time 0.001282/0.7566, allocations: 0.6587 MB / 1.241 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.7567, allocations: 115.4 kB / 1.241 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.7572, allocations: 0.5013 MB / 1.242 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/0.7572, allocations: 53.7 kB / 1.242 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.7574, allocations: 265.4 kB / 1.242 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.7575, allocations: 166.7 kB / 1.242 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.7577, allocations: 150.6 kB / 1.242 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7578, allocations: 366.8 kB / 1.242 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.7582, allocations: 197.9 kB / 1.243 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.7587, allocations: 332.8 kB / 1.243 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/0.7594, allocations: 438 kB / 1.243 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7594, allocations: 8 kB / 1.243 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001039/0.7605, allocations: 0.6195 MB / 1.244 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.7605, allocations: 31.42 kB / 1.244 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.7605, allocations: 4 kB / 1.244 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.7606, allocations: 4 kB / 1.244 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.7609, allocations: 88.06 kB / 1.244 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.7609, allocations: 4 kB / 1.244 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.7612, allocations: 87.56 kB / 1.244 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.7613, allocations: 31.97 kB / 1.244 GB, free: 10.79 MB / 0.9669 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.0002586/0.7616, allocations: 262.2 kB / 1.245 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/0.7617, allocations: 59.64 kB / 1.245 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.7627, allocations: 0.5748 MB / 1.245 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.7627, allocations: 0 / 1.245 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7627, allocations: 3.984 kB / 1.245 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/0.7628, allocations: 132.6 kB / 1.245 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.663e-05/0.7629, allocations: 16 kB / 1.245 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.7632, allocations: 47.94 kB / 1.245 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.7634, allocations: 88.45 kB / 1.245 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001171/0.7645, allocations: 0.6431 MB / 1.246 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009432/0.7655, allocations: 0.7094 MB / 1.247 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000414/0.7659, allocations: 272.3 kB / 1.247 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002932/0.7662, allocations: 335.1 kB / 1.247 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of Backend: time 5.31e-07/0.7662, allocations: 0 / 1.247 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002424/0.7687, allocations: 1.126 MB / 1.248 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001329/0.77, allocations: 1.325 MB / 1.25 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of Templates: time 0.2374/1.007, allocations: 8.647 MB / 1.258 GB, free: 12.84 MB / 0.9825 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