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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001083/0.001083, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001404/0.001404, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437.7 MB / 0.7117 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003876, allocations: 12 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9323/0.9327, allocations: 153.8 MB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002781/0.9356, allocations: 1.704 MB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.9371, allocations: 0.6627 MB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.9373, allocations: 8 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.9375, allocations: 19.73 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.77e-05/0.9376, allocations: 31.78 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.938, allocations: 103.9 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.9385, allocations: 355.2 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.9388, allocations: 190.4 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.9389, allocations: 95.64 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.9391, allocations: 111.4 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.9391, allocations: 12 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.545e-05/0.9392, allocations: 23.88 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.9393, allocations: 59.81 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.9394, allocations: 73.56 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.9397, allocations: 305.2 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.9397, allocations: 4 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.215e-06/0.9397, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.9397, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 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.0009179/0.9407, allocations: 0.5327 MB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.9407, allocations: 16.52 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.478e-05/0.9408, allocations: 35.56 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.9412, allocations: 264.1 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.002e-05/0.9412, allocations: 36.59 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.9413, allocations: 36 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.942, allocations: 340.7 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.942, allocations: 0 / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.942, allocations: 19.92 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.942, allocations: 4 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005423/0.9426, allocations: 258.1 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.944, allocations: 0.9513 MB / 1.028 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/0.9446, allocations: 280 kB / 1.029 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.9449, allocations: 128.8 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.9449, allocations: 4 kB / 1.029 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.9454, allocations: 191.1 kB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.9454, allocations: 0 / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.000797/0.9462, allocations: 357.3 kB / 1.029 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.9462, allocations: 67.39 kB / 1.029 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.9464, allocations: 199.3 kB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.9465, allocations: 49.69 kB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.9466, allocations: 156.5 kB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-05/0.9467, allocations: 75 kB / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.9467, allocations: 8 kB / 1.03 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.9468, allocations: 334.8 kB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.9471, allocations: 116.8 kB / 1.03 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.9474, allocations: 173.5 kB / 1.031 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.9477, allocations: 129.7 kB / 1.031 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.9477, allocations: 0 / 1.031 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006843/0.9484, allocations: 390.6 kB / 1.031 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.9485, allocations: 35.27 kB / 1.031 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9485, allocations: 0 / 1.031 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.9485, allocations: 4 kB / 1.031 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.9487, allocations: 47.91 kB / 1.031 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.9487, allocations: 3.938 kB / 1.031 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.949, allocations: 71.58 kB / 1.031 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.9491, allocations: 16 kB / 1.031 GB, free: 6.805 MB / 0.7794 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,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.9493, allocations: 173.8 kB / 1.031 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.9493, allocations: 27.7 kB / 1.031 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006213/0.9499, allocations: 303.2 kB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.95, allocations: 4 kB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.95, allocations: 3.938 kB / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.95, allocations: 3.984 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.9512, allocations: 0.7646 MB / 1.032 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9512, allocations: 0 / 1.032 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.9513, allocations: 35.97 kB / 1.032 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.9513, allocations: 0 / 1.032 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.9514, allocations: 8 kB / 1.032 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.9514, allocations: 0 / 1.032 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9514, allocations: 3.938 kB / 1.032 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.952, allocations: 387.3 kB / 1.033 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.952, allocations: 100.8 kB / 1.033 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.9521, allocations: 11.98 kB / 1.033 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.9523, allocations: 35.97 kB / 1.033 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.9524, allocations: 43.94 kB / 1.033 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.9525, allocations: 8 kB / 1.033 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.795e-05/0.9526, allocations: 131.2 kB / 1.033 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9526, allocations: 0 / 1.033 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003601/0.9529, allocations: 67.84 kB / 1.033 GB, free: 4.609 MB / 0.7794 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.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001923/0.9531, allocations: 125.4 kB / 1.033 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000652/0.9538, allocations: 340.6 kB / 1.034 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9538, allocations: 0 / 1.034 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.9541, allocations: 152.1 kB / 1.034 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.9545, allocations: 36.12 kB / 1.034 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009656/0.9554, allocations: 0.5231 MB / 1.034 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.9559, allocations: 0.7564 MB / 1.035 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001355/0.956, allocations: 30.28 kB / 1.035 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.211e-05/0.9561, allocations: 31.42 kB / 1.035 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.9561, allocations: 0 / 1.035 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of Templates: time 0.007252/0.9634, allocations: 2.726 MB / 1.038 GB, free: 15.85 MB / 0.795 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