Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 214.4 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.151/3.151, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 72.67 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3256, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage): time 0.004913/0.3305, allocations: 2.655 MB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003638/0.3341, allocations: 1.827 MB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.3344, allocations: 11.94 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004873/0.3349, allocations: 162.9 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.3355, allocations: 238.8 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.3367, allocations: 0.4968 MB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.3379, allocations: 0.8737 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006193/0.3385, allocations: 432.5 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.339, allocations: 318.9 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.3394, allocations: 342.6 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.3395, allocations: 80 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.3398, allocations: 175.9 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.34, allocations: 195.4 kB / 1.335 GB, free: 9.203 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.3403, allocations: 250.7 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.3414, allocations: 0.9846 MB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3414, allocations: 0 / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3414, allocations: 0 / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.3414, allocations: 0 / 1.336 GB, free: 7.969 MB / 1.029 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.001787/0.3432, allocations: 0.9559 MB / 1.337 GB, free: 6.965 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3433, allocations: 8.031 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004461/0.3437, allocations: 92.42 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.3445, allocations: 417.2 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.802e-05/0.3446, allocations: 45.38 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3447, allocations: 60.12 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.3458, allocations: 0.5787 MB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3458, allocations: 7.938 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.3459, allocations: 16 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.3459, allocations: 12 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009692/0.3469, allocations: 459.7 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/0.3494, allocations: 1.266 MB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009846/0.3504, allocations: 455.2 kB / 1.34 GB, free: 3.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.3508, allocations: 206.3 kB / 1.34 GB, free: 3.297 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.3509, allocations: 4.5 kB / 1.34 GB, free: 3.293 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006666/0.3515, allocations: 324.1 kB / 1.341 GB, free: 2.961 MB / 1.029 GB Notification: Performance of pre-optimization done (n=63): time 2.705e-06/0.3515, allocations: 4 kB / 1.341 GB, free: 2.957 MB / 1.029 GB Notification: Performance of matching and sorting (n=63): time 0.001547/0.3531, allocations: 0.6616 MB / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.3532, allocations: 89.75 kB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007126/0.3539, allocations: 0.5285 MB / 1.342 GB, free: 1.648 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-05/0.354, allocations: 49.7 kB / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.3542, allocations: 257.6 kB / 1.342 GB, free: 1.336 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.3544, allocations: 170.7 kB / 1.342 GB, free: 1.168 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.3546, allocations: 158.6 kB / 1.342 GB, free: 1.008 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.3548, allocations: 370.7 kB / 1.343 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.3552, allocations: 227.6 kB / 1.343 GB, free: 416 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.3559, allocations: 393.1 kB / 1.343 GB, free: 15.97 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009142/0.3568, allocations: 449.7 kB / 1.344 GB, free: 15.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.3568, allocations: 4 kB / 1.344 GB, free: 15.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001291/0.3581, allocations: 0.6448 MB / 1.344 GB, free: 14.83 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.3581, allocations: 37.69 kB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3581, allocations: 0 / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.3581, allocations: 8 kB / 1.345 GB, free: 14.78 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.3585, allocations: 75.83 kB / 1.345 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.3585, allocations: 11.94 kB / 1.345 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.3589, allocations: 83.56 kB / 1.345 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.359, allocations: 36.03 kB / 1.345 GB, free: 14.58 MB / 1.045 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.0003414/0.3593, allocations: 262.1 kB / 1.345 GB, free: 14.31 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.849e-05/0.3594, allocations: 55.66 kB / 1.345 GB, free: 14.26 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.3606, allocations: 0.5341 MB / 1.346 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.3606, allocations: 7.984 kB / 1.346 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3606, allocations: 0 / 1.346 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-05/0.3607, allocations: 59.48 kB / 1.346 GB, free: 13.65 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/0.3608, allocations: 27.86 kB / 1.346 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.3611, allocations: 43.94 kB / 1.346 GB, free: 13.58 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.3613, allocations: 92.53 kB / 1.346 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001392/0.3627, allocations: 0.6065 MB / 1.346 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001146/0.3638, allocations: 0.7004 MB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004578/0.3643, allocations: 233 kB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004033/0.3647, allocations: 347.1 kB / 1.348 GB, free: 11.59 MB / 1.045 GB Notification: Performance of Backend: time 4.51e-07/0.3647, allocations: 0 / 1.348 GB, free: 11.59 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00419/0.3689, allocations: 1.169 MB / 1.349 GB, free: 10.77 MB / 1.045 GB Notification: Performance of SimCode: time 0.001976/0.3709, allocations: 1.345 MB / 1.35 GB, free: 9.387 MB / 1.045 GB Notification: Performance of Templates: time 0.01796/0.3888, allocations: 9.531 MB / 1.359 GB, free: 15.97 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.873567188995366]