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.001371/0.001371, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001121/0.001121, allocations: 166.2 kB / 24.87 MB, free: 8.891 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 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.884/1.884, allocations: 377.9 MB / 0.6247 GB, free: 8.398 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.944e-06/1.944e-06, allocations: 0 / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.3e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003466/0.003489, allocations: 2.037 MB / 0.8148 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.004852, allocations: 0.7102 MB / 0.8155 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.005009, allocations: 9.531 kB / 0.8155 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.00519, allocations: 27.61 kB / 0.8155 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.005315, allocations: 50.02 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004767/0.005792, allocations: 167.7 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.006267, allocations: 419.1 kB / 0.8161 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.006611, allocations: 213.4 kB / 0.8163 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.006857, allocations: 207.6 kB / 0.8165 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.007024, allocations: 112.2 kB / 0.8166 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.007083, allocations: 41.66 kB / 0.8167 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.007166, allocations: 43.98 kB / 0.8167 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.22e-05/0.007248, allocations: 83.73 kB / 0.8168 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.007355, allocations: 107.7 kB / 0.8169 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.007699, allocations: 263 kB / 0.8171 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.007701, allocations: 0.6562 kB / 0.8171 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.71e-07/0.007702, allocations: 1.094 kB / 0.8171 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.007707, allocations: 3.938 kB / 0.8171 GB, free: 12.98 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.0008014/0.008508, allocations: 0.6322 MB / 0.8177 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.008547, allocations: 12.03 kB / 0.8178 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.008812, allocations: 70.09 kB / 0.8178 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.009241, allocations: 208.2 kB / 0.818 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.009282, allocations: 29.03 kB / 0.8181 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.009324, allocations: 34.12 kB / 0.8181 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.009722, allocations: 247.9 kB / 0.8183 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.009736, allocations: 4.172 kB / 0.8183 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.009764, allocations: 12.38 kB / 0.8183 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.009777, allocations: 15.92 kB / 0.8184 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.009953, allocations: 93.61 kB / 0.8184 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.01102, allocations: 0.797 MB / 0.8192 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.01129, allocations: 152.2 kB / 0.8194 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.083e-05/0.01138, allocations: 61.44 kB / 0.8194 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.0114, allocations: 4 kB / 0.8194 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.01161, allocations: 132.8 kB / 0.8196 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.01161, allocations: 4 kB / 0.8196 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=32): time 0.0003984/0.01201, allocations: 223.2 kB / 0.8198 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.01205, allocations: 59.41 kB / 0.8198 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.01221, allocations: 246.8 kB / 0.8201 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.01225, allocations: 41.69 kB / 0.8201 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.01236, allocations: 203.5 kB / 0.8203 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.01243, allocations: 87.3 kB / 0.8204 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.01256, allocations: 95.77 kB / 0.8205 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.01272, allocations: 0.5079 MB / 0.821 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.823e-05/0.01282, allocations: 62.67 kB / 0.821 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.01296, allocations: 150.6 kB / 0.8212 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.01317, allocations: 184.8 kB / 0.8213 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01318, allocations: 0.5 kB / 0.8213 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003773/0.01355, allocations: 294.3 kB / 0.8216 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.01359, allocations: 41.64 kB / 0.8217 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.0136, allocations: 0 / 0.8217 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.01361, allocations: 4.656 kB / 0.8217 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.01377, allocations: 47.59 kB / 0.8217 GB, free: 8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.01378, allocations: 4 kB / 0.8217 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.01392, allocations: 43.77 kB / 0.8218 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.01395, allocations: 12 kB / 0.8218 GB, free: 7.941 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.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,wseCon.stateGraphRoot.suspend,wseCon.stateGraphRoot.resume) * 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.0001511/0.0141, allocations: 200.4 kB / 0.822 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.01414, allocations: 37.8 kB / 0.822 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.01419, allocations: 22.66 kB / 0.822 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.01419, allocations: 4 kB / 0.822 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.01419, allocations: 0 / 0.822 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.0142, allocations: 3.984 kB / 0.822 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006589/0.01486, allocations: 0.5464 MB / 0.8226 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.01486, allocations: 4 kB / 0.8226 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.028e-05/0.01495, allocations: 25.09 kB / 0.8226 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.01496, allocations: 4 kB / 0.8226 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.01497, allocations: 7.938 kB / 0.8226 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01498, allocations: 5.125 kB / 0.8226 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01498, allocations: 3.938 kB / 0.8226 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.01529, allocations: 342 kB / 0.8229 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.01531, allocations: 20.83 kB / 0.823 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.01534, allocations: 12 kB / 0.823 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.01547, allocations: 24.84 kB / 0.823 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.01556, allocations: 33.38 kB / 0.823 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.01558, allocations: 8 kB / 0.823 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.934e-05/0.01564, allocations: 149.7 kB / 0.8232 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01564, allocations: 0 / 0.8232 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003287/0.01597, allocations: 73.61 kB / 0.8232 GB, free: 6.387 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.0001268/0.0161, allocations: 122.5 kB / 0.8234 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.01643, allocations: 249.9 kB / 0.8236 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01643, allocations: 0.7188 kB / 0.8236 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.01656, allocations: 87.5 kB / 0.8237 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.01691, allocations: 47.88 kB / 0.8237 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/0.01775, allocations: 417.2 kB / 0.8241 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.678e-05/0.01782, allocations: 88.92 kB / 0.8242 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.659e-05/0.0179, allocations: 27.31 kB / 0.8242 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.01802, allocations: 110.2 kB / 0.8243 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of SimCode: time 1.022e-06/0.01802, allocations: 0 / 0.8243 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of Templates: time 0.004821/0.02284, allocations: 3.274 MB / 0.8275 GB, free: 1.949 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: 5.190939008723944]