Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.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.001878/0.001878, 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.002484/0.002484, allocations: 212.1 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.162/3.162, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooMod.y|chiNumOn.y|conSpePumSta.y.1.|conSpePumSta.y.2.",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooMod.y|chiNumOn.y|conSpePumSta.y.1.|conSpePumSta.y.2.",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") [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.002032/0.002032, allocations: 62.34 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3327, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage): time 0.004959/0.3377, allocations: 2.725 MB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003875/0.3416, allocations: 1.97 MB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.3419, allocations: 11.94 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006013/0.3425, allocations: 218.8 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008586/0.3434, allocations: 298.6 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.3451, allocations: 0.6224 MB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001261/0.3463, allocations: 0.9872 MB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006948/0.347, allocations: 489.2 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004672/0.3475, allocations: 374.6 kB / 1.335 GB, free: 9.281 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.348, allocations: 418.4 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.3481, allocations: 80 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.3485, allocations: 215.8 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.3488, allocations: 243.2 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.3491, allocations: 290.4 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.3504, allocations: 1.148 MB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3504, allocations: 8 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3504, allocations: 0 / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.3504, allocations: 0 / 1.337 GB, free: 6.898 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.001882/0.3523, allocations: 1.085 MB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3523, allocations: 15.97 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004732/0.3528, allocations: 108.3 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008528/0.3537, allocations: 0.5098 MB / 1.339 GB, free: 5.109 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.979e-05/0.3537, allocations: 53.62 kB / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.302e-05/0.3538, allocations: 59.94 kB / 1.339 GB, free: 4.996 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.355, allocations: 0.6326 MB / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.355, allocations: 0 / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-05/0.355, allocations: 27.98 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.3551, allocations: 12 kB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009113/0.356, allocations: 465 kB / 1.34 GB, free: 3.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.3583, allocations: 1.354 MB / 1.341 GB, free: 2.449 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009212/0.3593, allocations: 479.8 kB / 1.342 GB, free: 1.973 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/0.3597, allocations: 219.8 kB / 1.342 GB, free: 1.754 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/0.3597, allocations: 16.44 kB / 1.342 GB, free: 1.738 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006031/0.3603, allocations: 316.2 kB / 1.342 GB, free: 1.418 MB / 1.029 GB Notification: Performance of pre-optimization done (n=67): time 3.086e-06/0.3603, allocations: 0 / 1.342 GB, free: 1.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=67): time 0.001448/0.3618, allocations: 0.7006 MB / 1.343 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.3619, allocations: 123.4 kB / 1.343 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009113/0.3628, allocations: 0.7605 MB / 1.344 GB, free: 15.8 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/0.3628, allocations: 57.64 kB / 1.344 GB, free: 15.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.3631, allocations: 317.5 kB / 1.344 GB, free: 15.42 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.3633, allocations: 170.6 kB / 1.344 GB, free: 15.25 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.3635, allocations: 166.6 kB / 1.344 GB, free: 15.08 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.3637, allocations: 382.8 kB / 1.345 GB, free: 14.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.3641, allocations: 201.9 kB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.3647, allocations: 462.2 kB / 1.345 GB, free: 13.98 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007503/0.3655, allocations: 442.3 kB / 1.346 GB, free: 13.52 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3655, allocations: 4 kB / 1.346 GB, free: 13.51 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001096/0.3666, allocations: 0.61 MB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3666, allocations: 8 kB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3666, allocations: 4 kB / 1.346 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3666, allocations: 4 kB / 1.346 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.367, allocations: 88.12 kB / 1.346 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.367, allocations: 23.91 kB / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.3673, allocations: 67.59 kB / 1.346 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.3674, allocations: 28 kB / 1.347 GB, free: 12.68 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 72 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition5,plaOn.y,chiNumOn.combiTimeTable.nextTimeEventScaled,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.y,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,conSpePumSta.intSwi.y,conSpePumSta.addInt.y,conSpePumSta.booToInt1.y,conSpePumSta.booToInt.y,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.con4.t_start,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.fire,conSpePumSta.con4.enableFire,conSpePumSta.con4.localCondition,conSpePumSta.con3.t_start,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.fire,conSpePumSta.con3.enableFire,conSpePumSta.con3.localCondition,conSpePumSta.con2.t_start,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.fire,conSpePumSta.con2.enableFire,conSpePumSta.con2.localCondition,conSpePumSta.twoOn.active,conSpePumSta.twoOn.oldActive,$PRE.conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.newActive,$PRE.conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.localActive,$PRE.conSpePumSta.twoOn.localActive,conSpePumSta.off.oldActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.active,conSpePumSta.oneOn.active,conSpePumSta.oneOn.oldActive,$PRE.conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.newActive,$PRE.conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.localActive,$PRE.conSpePumSta.oneOn.localActive,conSpePumSta.con1.t_start,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.fire,conSpePumSta.con1.enableFire,conSpePumSta.con1.localCondition,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend,conSpePumSta.zer.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * 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.000384/0.3677, allocations: 302 kB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.3679, allocations: 71.53 kB / 1.347 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.369, allocations: 0.5821 MB / 1.347 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.369, allocations: 3.984 kB / 1.347 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.629e-06/0.369, allocations: 7.938 kB / 1.347 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.3691, allocations: 79.42 kB / 1.348 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.3692, allocations: 20 kB / 1.348 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.3694, allocations: 27.97 kB / 1.348 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.3696, allocations: 80.53 kB / 1.348 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001153/0.3708, allocations: 0.626 MB / 1.348 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001068/0.3719, allocations: 0.7316 MB / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004137/0.3723, allocations: 241.1 kB / 1.349 GB, free: 9.871 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006154/0.3729, allocations: 0.5144 MB / 1.35 GB, free: 9.359 MB / 1.045 GB Notification: Performance of Backend: time 4.81e-07/0.3729, allocations: 0 / 1.35 GB, free: 9.359 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004208/0.3771, allocations: 1.127 MB / 1.351 GB, free: 8.598 MB / 1.045 GB Notification: Performance of SimCode: time 0.002114/0.3792, allocations: 1.584 MB / 1.352 GB, free: 6.969 MB / 1.045 GB Notification: Performance of Templates: time 0.01895/0.3982, allocations: 10.7 MB / 1.363 GB, free: 12.43 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.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.90775221199874]