Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00141/0.00141, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001397/0.001397, allocations: 161 kB / 23.81 MB, free: 0.7539 MB / 18.57 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 0.958/0.958, allocations: 177.2 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.803/1.803, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.528e-05, allocations: 4.844 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002469/0.002495, allocations: 2.075 MB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.003833, allocations: 0.7119 MB / 0.8143 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.00395, allocations: 4 kB / 0.8143 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.004089, allocations: 35.59 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.274e-05/0.004182, allocations: 44.06 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.004641, allocations: 172.4 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.005039, allocations: 411.7 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.005336, allocations: 214.1 kB / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.005528, allocations: 212.1 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.005666, allocations: 109 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.005707, allocations: 43.98 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.322e-05/0.005781, allocations: 47.98 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.005845, allocations: 83.73 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.302e-05/0.005928, allocations: 96.91 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.006229, allocations: 267 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.006231, allocations: 0 / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.222e-06/0.006232, allocations: 1.375 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.006238, allocations: 0 / 0.8159 GB, free: 13.24 MB / 0.7761 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.0007165/0.006954, allocations: 0.6324 MB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.006991, allocations: 12.03 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.00721, allocations: 68.72 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.007464, allocations: 215.2 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.007497, allocations: 29.03 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.00753, allocations: 33.67 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.007914, allocations: 264 kB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.007925, allocations: 192 / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.007948, allocations: 17.58 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.007959, allocations: 7.938 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.008154, allocations: 115.8 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009823/0.009137, allocations: 0.8437 MB / 0.8181 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.009401, allocations: 161.9 kB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.931e-05/0.00949, allocations: 67.66 kB / 0.8183 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.00951, allocations: 4 kB / 0.8183 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.009701, allocations: 140.8 kB / 0.8185 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.009703, allocations: 4.438 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=32): time 0.0003836/0.01009, allocations: 250.5 kB / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.01012, allocations: 59.92 kB / 0.8188 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.01027, allocations: 242.2 kB / 0.819 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.01029, allocations: 41.7 kB / 0.819 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.291e-05/0.01039, allocations: 203.5 kB / 0.8192 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.01044, allocations: 87.31 kB / 0.8193 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-05/0.01053, allocations: 91.83 kB / 0.8194 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01065, allocations: 0.502 MB / 0.8199 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.01076, allocations: 82.66 kB / 0.82 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.01089, allocations: 156.8 kB / 0.8201 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.01108, allocations: 197.9 kB / 0.8203 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01109, allocations: 0 / 0.8203 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003467/0.01143, allocations: 322.4 kB / 0.8206 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.01147, allocations: 37.69 kB / 0.8206 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01147, allocations: 4 kB / 0.8206 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.01149, allocations: 4.844 kB / 0.8207 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.01163, allocations: 47.91 kB / 0.8207 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.01164, allocations: 7.125 kB / 0.8207 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.012, allocations: 39.77 kB / 0.8207 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.01202, allocations: 19.94 kB / 0.8208 GB, free: 8.004 MB / 0.7761 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.0001145/0.01213, allocations: 190.9 kB / 0.8209 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.01216, allocations: 39.78 kB / 0.821 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.0122, allocations: 30.66 kB / 0.821 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.01221, allocations: 4 kB / 0.821 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.01221, allocations: 0 / 0.821 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01222, allocations: 3.984 kB / 0.821 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.0128, allocations: 0.5927 MB / 0.8216 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.0128, allocations: 0 / 0.8216 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.701e-05/0.01287, allocations: 27.92 kB / 0.8216 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01287, allocations: 1.062 kB / 0.8216 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.01289, allocations: 11.98 kB / 0.8216 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01289, allocations: 0 / 0.8216 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01289, allocations: 1.125 kB / 0.8216 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.01315, allocations: 362 kB / 0.822 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.01318, allocations: 23.8 kB / 0.822 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.0132, allocations: 9.062 kB / 0.822 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.0133, allocations: 20.95 kB / 0.822 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.01338, allocations: 35.94 kB / 0.8221 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.01339, allocations: 12.48 kB / 0.8221 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.254e-05/0.01346, allocations: 156.8 kB / 0.8222 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.4e-07/0.01346, allocations: 1.5 kB / 0.8222 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002199/0.01368, allocations: 71.83 kB / 0.8223 GB, free: 6.371 MB / 0.7761 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.0001168/0.01379, allocations: 118 kB / 0.8224 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003231/0.01412, allocations: 277.9 kB / 0.8227 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01412, allocations: 0.8125 kB / 0.8227 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.01424, allocations: 99.52 kB / 0.8228 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.01449, allocations: 44.81 kB / 0.8228 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007906/0.01528, allocations: 425.2 kB / 0.8232 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.646e-05/0.01534, allocations: 88.92 kB / 0.8233 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.525e-05/0.01541, allocations: 29.3 kB / 0.8233 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.01548, allocations: 28.5 kB / 0.8234 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/0.01548, allocations: 1.656 kB / 0.8234 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of Templates: time 0.005199/0.02068, allocations: 3.08 MB / 0.8264 GB, free: 2.172 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.914694499224424]