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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005064/0.005064, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001158/0.001158, allocations: 189.3 kB / 16.67 MB, free: 5.969 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.76/2.76, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 72.09 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3341, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003669/0.3378, allocations: 2.018 MB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3392, allocations: 0.6936 MB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.3394, allocations: 4 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.3396, allocations: 27.61 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.3398, allocations: 43.58 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.3404, allocations: 155.8 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006285/0.341, allocations: 415.1 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/0.3414, allocations: 215.8 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.3416, allocations: 131.6 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.3419, allocations: 151.3 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.848e-05/0.342, allocations: 40 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3421, allocations: 47.98 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.471e-05/0.3422, allocations: 79.77 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.3423, allocations: 155.3 kB / 1.225 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.3429, allocations: 442.3 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3429, allocations: 3.938 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3429, allocations: 0 / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.3429, allocations: 0 / 1.225 GB, free: 9.195 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.001205/0.3441, allocations: 0.6064 MB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3442, allocations: 8.031 kB / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.3443, allocations: 32.75 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.3447, allocations: 268 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/0.3448, allocations: 29.02 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.3448, allocations: 32.38 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007102/0.3455, allocations: 341 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3456, allocations: 0 / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.3456, allocations: 15.98 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3456, allocations: 4 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.3462, allocations: 254.1 kB / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.3477, allocations: 0.9554 MB / 1.228 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006078/0.3483, allocations: 247.4 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.3486, allocations: 108.8 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.3486, allocations: 7.984 kB / 1.228 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.349, allocations: 187.7 kB / 1.228 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.349, allocations: 0 / 1.228 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.0008349/0.3498, allocations: 345.4 kB / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3499, allocations: 63.41 kB / 1.228 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.3501, allocations: 203.4 kB / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.3501, allocations: 37.7 kB / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3502, allocations: 156.8 kB / 1.229 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.3503, allocations: 83.36 kB / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.3504, allocations: 94.06 kB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3505, allocations: 346.7 kB / 1.229 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.3508, allocations: 104.8 kB / 1.229 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.3511, allocations: 169.5 kB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.3515, allocations: 258.7 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3515, allocations: 0 / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007336/0.3523, allocations: 378.7 kB / 1.23 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.3523, allocations: 33.7 kB / 1.23 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3523, allocations: 0 / 1.23 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3523, allocations: 4 kB / 1.23 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.3525, allocations: 47.84 kB / 1.23 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.3526, allocations: 4 kB / 1.23 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.3528, allocations: 55.89 kB / 1.23 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.3529, allocations: 16 kB / 1.23 GB, free: 3.473 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.0001947/0.3531, allocations: 174.8 kB / 1.231 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.3531, allocations: 31.73 kB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000637/0.3537, allocations: 300.3 kB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.3537, allocations: 4 kB / 1.231 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3537, allocations: 0 / 1.231 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3538, allocations: 3.984 kB / 1.231 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.3549, allocations: 0.7447 MB / 1.232 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3549, allocations: 3.984 kB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.355, allocations: 35.97 kB / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.355, allocations: 0 / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.3551, allocations: 8 kB / 1.232 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3551, allocations: 3.938 kB / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3551, allocations: 0 / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.3556, allocations: 376.2 kB / 1.232 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.3557, allocations: 100.9 kB / 1.232 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.3557, allocations: 16 kB / 1.232 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.356, allocations: 35.89 kB / 1.232 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3561, allocations: 39.95 kB / 1.232 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.3561, allocations: 4 kB / 1.232 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001063/0.3562, allocations: 139.7 kB / 1.232 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3562, allocations: 0 / 1.232 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003596/0.3566, allocations: 71.89 kB / 1.232 GB, free: 1.312 MB / 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: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$cse1,$cse2,$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 (34): * Single equations (assignments): 28 * 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.0001888/0.3568, allocations: 121.4 kB / 1.232 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006535/0.3574, allocations: 319.2 kB / 1.233 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3574, allocations: 320 / 1.233 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.3577, allocations: 135.8 kB / 1.233 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.3581, allocations: 37.86 kB / 1.233 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008681/0.3589, allocations: 456.3 kB / 1.233 GB, free: 224 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.3592, allocations: 0.7564 MB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.3594, allocations: 30.28 kB / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.565e-05/0.3594, allocations: 31.42 kB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.3594, allocations: 0 / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of Templates: time 0.007294/0.3667, allocations: 3.159 MB / 1.237 GB, free: 12.23 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) 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) Reference file matches