Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.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.001335/0.001335, allocations: 99.64 kB / 18.94 MB, free: 2.539 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.001624/0.001624, allocations: 215.1 kB / 22.25 MB, free: 4.875 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.769/2.769, allocations: 475.9 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [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.002068/0.002068, allocations: 67.8 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3482, allocations: 170 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003877/0.3521, allocations: 1.993 MB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3536, allocations: 0.6975 MB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.3538, allocations: 7.938 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.354, allocations: 35.61 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.3541, allocations: 39.59 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.3547, allocations: 159.8 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006409/0.3553, allocations: 415.1 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.3558, allocations: 204.6 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.356, allocations: 143.5 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.3563, allocations: 127.4 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.14e-05/0.3564, allocations: 40 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3565, allocations: 44 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.884e-05/0.3566, allocations: 79.77 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.3567, allocations: 131.4 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005786/0.3573, allocations: 430.4 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.3573, allocations: 4 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3573, allocations: 3.938 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.3573, allocations: 4 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001249/0.3586, allocations: 0.5313 MB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3586, allocations: 8.031 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.3589, allocations: 48.72 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.3594, allocations: 206 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.3594, allocations: 25.03 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.3595, allocations: 36.38 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007491/0.3602, allocations: 337.3 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3602, allocations: 3.938 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.3603, allocations: 16 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.3603, allocations: 8 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006814/0.361, allocations: 242.5 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.3625, allocations: 0.7658 MB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.3632, allocations: 256.9 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.3634, allocations: 117.2 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3635, allocations: 4 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/0.3638, allocations: 175.3 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 2.605e-06/0.3638, allocations: 0 / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.0008892/0.3647, allocations: 347.7 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.3648, allocations: 67.39 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.365, allocations: 187.8 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.365, allocations: 45.7 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3652, allocations: 156.7 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-05/0.3653, allocations: 83.36 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.3654, allocations: 90.11 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3656, allocations: 326.8 kB / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.3659, allocations: 134.5 kB / 1.291 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.3662, allocations: 195.2 kB / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.3667, allocations: 270.5 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.3667, allocations: 0 / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007565/0.3675, allocations: 392.5 kB / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.3675, allocations: 33.86 kB / 1.292 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3675, allocations: 4 kB / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.3676, allocations: 4 kB / 1.292 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.3678, allocations: 43.91 kB / 1.292 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3678, allocations: 0 / 1.292 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.3681, allocations: 55.73 kB / 1.292 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.3681, allocations: 12 kB / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.localCondition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.localCondition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,wseCHWST.count,$PRE.wseCHWST.count,wseCHWST.T_start,$PRE.wseCHWST.T_start,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0002094/0.3683, allocations: 185.9 kB / 1.293 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.3683, allocations: 19.86 kB / 1.293 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.771e-05/0.3684, allocations: 26.66 kB / 1.293 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.3684, allocations: 7.984 kB / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3684, allocations: 0 / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3684, allocations: 3.984 kB / 1.293 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.3695, allocations: 0.6276 MB / 1.293 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3695, allocations: 0 / 1.293 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.3697, allocations: 23.98 kB / 1.293 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3697, allocations: 0 / 1.293 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.3697, allocations: 15.92 kB / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3697, allocations: 3.938 kB / 1.293 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3697, allocations: 0 / 1.293 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.3703, allocations: 364.3 kB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.3704, allocations: 27.8 kB / 1.294 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.3704, allocations: 7.984 kB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.3706, allocations: 31.97 kB / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3707, allocations: 43.88 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.3708, allocations: 12 kB / 1.294 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.851e-05/0.3709, allocations: 116 kB / 1.294 GB, free: 472 kB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3709, allocations: 0 / 1.294 GB, free: 472 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003319/0.3712, allocations: 75.78 kB / 1.294 GB, free: 396 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.localActive,wseCon.off.newActive,wseCon.off.oldActive,wseCon.T1.localCondition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.localActive,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.localCondition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001581/0.3714, allocations: 125.1 kB / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007049/0.3721, allocations: 341.4 kB / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3721, allocations: 0 / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.3723, allocations: 128.1 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.3727, allocations: 27.98 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.3737, allocations: 448.8 kB / 1.295 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.3738, allocations: 150.7 kB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000109/0.374, allocations: 26.28 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.374, allocations: 23.44 kB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.374, allocations: 0 / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of Templates: time 0.007541/0.3816, allocations: 3.095 MB / 1.298 GB, free: 12.02 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.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.771323394030333]