Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001273/0.001273, allocations: 112.3 kB / 16.42 MB, free: 6.469 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.001253/0.001253, 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.314/1.314, 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 9.1.3-maint.9.1.x/package.mo): time 2.168/2.168, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 71.88 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8037, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage): time 0.003484/0.8072, allocations: 2.721 MB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002281/0.8095, allocations: 1.739 MB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.8096, allocations: 11.31 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.8101, allocations: 159.7 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.8104, allocations: 176.1 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009532/0.8114, allocations: 0.5242 MB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007771/0.8122, allocations: 0.8408 MB / 1.095 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005597/0.8128, allocations: 0.5001 MB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.8131, allocations: 311.6 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.8134, allocations: 332.2 kB / 1.096 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.8136, allocations: 74.06 kB / 1.096 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.8139, allocations: 175.2 kB / 1.096 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.814, allocations: 184 kB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.8143, allocations: 316.8 kB / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009611/0.8152, allocations: 0.9651 MB / 1.097 GB, free: 228 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8153, allocations: 1.188 kB / 1.097 GB, free: 228 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8153, allocations: 0.5625 kB / 1.097 GB, free: 228 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.8153, allocations: 4 kB / 1.097 GB, free: 224 kB / 0.8575 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.00156/0.8168, allocations: 0.9857 MB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.8169, allocations: 8.875 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.817, allocations: 67.88 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006271/0.8177, allocations: 476.5 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/0.8177, allocations: 51.02 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.383e-05/0.8178, allocations: 54.25 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.8189, allocations: 0.5614 MB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.8189, allocations: 0.9688 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.819, allocations: 21.72 kB / 1.1 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.819, allocations: 16.38 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009578/0.82, allocations: 454.6 kB / 1.1 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.8225, allocations: 1.528 MB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.8236, allocations: 0.4937 MB / 1.102 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/0.824, allocations: 231.8 kB / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.693e-05/0.8241, allocations: 11.83 kB / 1.102 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/0.8247, allocations: 309.6 kB / 1.103 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=63): time 2.474e-06/0.8247, allocations: 4.906 kB / 1.103 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63): time 0.001651/0.8264, allocations: 0.6648 MB / 1.103 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.8265, allocations: 117.6 kB / 1.103 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/0.827, allocations: 0.4961 MB / 1.104 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.433e-05/0.8271, allocations: 53.59 kB / 1.104 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.8273, allocations: 252.7 kB / 1.104 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.8275, allocations: 162.3 kB / 1.104 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.8277, allocations: 152.3 kB / 1.104 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.8278, allocations: 366.6 kB / 1.105 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/0.8283, allocations: 195.7 kB / 1.105 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.8288, allocations: 329.7 kB / 1.105 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007937/0.8296, allocations: 437 kB / 1.106 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.8296, allocations: 0 / 1.106 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001145/0.8308, allocations: 0.6237 MB / 1.106 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.8308, allocations: 33.7 kB / 1.106 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8308, allocations: 2.219 kB / 1.106 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.8309, allocations: 5.188 kB / 1.106 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.8312, allocations: 84.73 kB / 1.106 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.8312, allocations: 5.844 kB / 1.106 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.8317, allocations: 88.78 kB / 1.106 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/0.8317, allocations: 27.53 kB / 1.106 GB, free: 11 MB / 0.8731 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.0003111/0.832, allocations: 266.7 kB / 1.107 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/0.8321, allocations: 52.67 kB / 1.107 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.8333, allocations: 0.5764 MB / 1.107 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.8333, allocations: 11.95 kB / 1.107 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8333, allocations: 1.344 kB / 1.107 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.8334, allocations: 126 kB / 1.107 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/0.8335, allocations: 18.7 kB / 1.107 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.8338, allocations: 48.7 kB / 1.108 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.834, allocations: 83.72 kB / 1.108 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001319/0.8354, allocations: 0.6366 MB / 1.108 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001068/0.8365, allocations: 0.7088 MB / 1.109 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004808/0.837, allocations: 280.8 kB / 1.109 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003589/0.8373, allocations: 333.5 kB / 1.11 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of Backend: time 6.82e-07/0.8373, allocations: 0 / 1.11 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002674/0.84, allocations: 1.125 MB / 1.111 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001781/0.8418, allocations: 1.32 MB / 1.112 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of Templates: time 0.5655/1.407, allocations: 8.629 MB / 1.12 GB, free: 7.324 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches