Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01026/0.01026, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.002418/0.002418, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.733/2.733, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3186, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003616/0.3222, allocations: 2.012 MB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3235, allocations: 0.6897 MB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.3237, allocations: 7.938 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.3239, allocations: 35.61 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.324, allocations: 43.58 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.3245, allocations: 155.8 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006345/0.3252, allocations: 407.2 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004914/0.3257, allocations: 247.8 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.3258, allocations: 143.5 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.3261, allocations: 143.4 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.932e-05/0.3262, allocations: 40 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.52e-05/0.3263, allocations: 47.98 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.269e-05/0.3264, allocations: 83.81 kB / 1.171 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.3265, allocations: 155.2 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.327, allocations: 438.3 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.327, allocations: 0 / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.445e-06/0.327, allocations: 4 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.327, allocations: 0 / 1.171 GB, free: 2.164 MB / 0.92 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.0009431/0.328, allocations: 0.6025 MB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.328, allocations: 15.98 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.3281, allocations: 32.75 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.3286, allocations: 276.6 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.3287, allocations: 29.02 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.3287, allocations: 36.38 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006355/0.3294, allocations: 337.2 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3294, allocations: 0 / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.3294, allocations: 15.92 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3294, allocations: 8 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005557/0.33, allocations: 250.1 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.3315, allocations: 0.9476 MB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006087/0.3321, allocations: 275.3 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.3324, allocations: 124.8 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3324, allocations: 3.984 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003503/0.3328, allocations: 175.3 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.3328, allocations: 3.938 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32): time 0.0008096/0.3336, allocations: 358.1 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.3337, allocations: 63.39 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.3339, allocations: 211.3 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.3341, allocations: 41.7 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3342, allocations: 148.8 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/0.3343, allocations: 91.3 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.3344, allocations: 90.06 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3345, allocations: 338.8 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.3348, allocations: 108.8 kB / 1.176 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.3352, allocations: 165.4 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.3357, allocations: 266.4 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3357, allocations: 0 / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006916/0.3364, allocations: 367 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.3364, allocations: 41.73 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3364, allocations: 0 / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3365, allocations: 4 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.3367, allocations: 39.91 kB / 1.176 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3367, allocations: 4 kB / 1.176 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.337, allocations: 51.75 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.337, allocations: 23.98 kB / 1.176 GB, free: 12.39 MB / 0.9356 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.0001756/0.3372, allocations: 169.9 kB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.3372, allocations: 31.84 kB / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006301/0.3379, allocations: 287.2 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3379, allocations: 4 kB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3379, allocations: 4 kB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3379, allocations: 4 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.339, allocations: 0.7381 MB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.339, allocations: 4 kB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.3392, allocations: 31.91 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.3392, allocations: 7.938 kB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.3392, allocations: 4 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3392, allocations: 11.94 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3392, allocations: 3.984 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.3398, allocations: 380.5 kB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.3399, allocations: 100.8 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.3399, allocations: 11.98 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.3402, allocations: 39.89 kB / 1.178 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3403, allocations: 35.95 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.3403, allocations: 12 kB / 1.178 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.729e-05/0.3404, allocations: 131.2 kB / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3404, allocations: 0 / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003696/0.3408, allocations: 71.83 kB / 1.178 GB, free: 10.24 MB / 0.9356 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.0001757/0.341, allocations: 125.4 kB / 1.179 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006533/0.3417, allocations: 340.3 kB / 1.179 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3417, allocations: 0 / 1.179 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.3419, allocations: 139.8 kB / 1.179 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3423, allocations: 38.92 kB / 1.179 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009979/0.3433, allocations: 462 kB / 1.179 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.3437, allocations: 0.7564 MB / 1.18 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.3438, allocations: 30.28 kB / 1.18 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.3439, allocations: 35.42 kB / 1.18 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.3439, allocations: 0 / 1.18 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of Templates: time 0.006728/0.3507, allocations: 3.136 MB / 1.183 GB, free: 5.141 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches