Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 180.9 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008365/0.0008365, allocations: 86.52 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.803e-05/1.848e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2146, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7624/0.977, allocations: 135.4 MB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/0.9775, allocations: 99.91 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01342/0.9909, allocations: 4.65 MB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.684e-06/0.991, allocations: 0 / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.88e-05/0.991, allocations: 8 kB / 1.022 GB, free: 14.5 MB / 0.6511 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.0007924/0.9918, allocations: 0.5377 MB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.9919, allocations: 8.031 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.118e-05/0.9919, allocations: 31.72 kB / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.9923, allocations: 269.1 kB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.9923, allocations: 15.81 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.9924, allocations: 20 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000434/0.9928, allocations: 199.5 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006355/0.9935, allocations: 274.1 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.9935, allocations: 0 / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.9935, allocations: 3.953 kB / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.9936, allocations: 8 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.995, allocations: 0.8856 MB / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.9955, allocations: 212.9 kB / 1.024 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.9957, allocations: 104 kB / 1.025 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.9957, allocations: 7.984 kB / 1.025 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000313/0.996, allocations: 146.7 kB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.9961, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0004908/0.9966, allocations: 212.7 kB / 1.025 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.9966, allocations: 59.36 kB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.9968, allocations: 164.6 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.9968, allocations: 32.89 kB / 1.025 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.997, allocations: 154.5 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.997, allocations: 77.39 kB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.9971, allocations: 0 / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.9972, allocations: 333.1 kB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.9974, allocations: 90 kB / 1.026 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.9976, allocations: 136 kB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.9978, allocations: 83.12 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.9978, allocations: 0 / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004869/0.9983, allocations: 276 kB / 1.026 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.9983, allocations: 35.89 kB / 1.026 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.9984, allocations: 0 / 1.026 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.9984, allocations: 4 kB / 1.026 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.9986, allocations: 47.53 kB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.9987, allocations: 7.984 kB / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.999, allocations: 43.92 kB / 1.026 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.999, allocations: 15.44 kB / 1.026 GB, free: 10.65 MB / 0.6511 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.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete 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.0001329/0.9992, allocations: 128.1 kB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.9992, allocations: 23.78 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005208/0.9997, allocations: 243.9 kB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.9998, allocations: 4 kB / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.9998, allocations: 3.938 kB / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.9998, allocations: 0 / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009172/1.001, allocations: 0.6375 MB / 1.027 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.001, allocations: 4 kB / 1.027 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/1.001, allocations: 39.16 kB / 1.027 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.001, allocations: 0 / 1.027 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/1.001, allocations: 4 kB / 1.027 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.001, allocations: 0 / 1.027 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.001, allocations: 3.953 kB / 1.027 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/1.001, allocations: 323 kB / 1.028 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/1.001, allocations: 100.8 kB / 1.028 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/1.001, allocations: 4 kB / 1.028 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/1.002, allocations: 31.95 kB / 1.028 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.002, allocations: 46.77 kB / 1.028 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/1.002, allocations: 8 kB / 1.028 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.878e-05/1.002, allocations: 121.3 kB / 1.028 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.002, allocations: 0 / 1.028 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002928/1.002, allocations: 47.94 kB / 1.028 GB, free: 9.074 MB / 0.6511 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.fire,wseCon.T1.t_start,wseCon.T1.condition,wseCon.on.newActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.fire,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * 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.0001829/1.002, allocations: 121.2 kB / 1.028 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004027/1.003, allocations: 276.6 kB / 1.028 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.003, allocations: 0 / 1.028 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/1.003, allocations: 117.7 kB / 1.029 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/1.003, allocations: 28.25 kB / 1.029 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/1.004, allocations: 302.4 kB / 1.029 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/1.004, allocations: 0.7711 MB / 1.03 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001135/1.004, allocations: 30.06 kB / 1.03 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/1.004, allocations: 27.42 kB / 1.03 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.004, allocations: 0 / 1.03 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of Templates: time 0.005649/1.01, allocations: 2.494 MB / 1.032 GB, free: 5.062 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches