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.0008943/0.0008943, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001509/0.001509, allocations: 161 kB / 23.82 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.9136/0.9136, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.847/1.847, allocations: 377.9 MB / 0.6236 GB, free: 8.555 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 2.705e-06/2.705e-06, allocations: 4 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.757e-05, allocations: 6.609 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.002173/0.00219, allocations: 2.07 MB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003288, allocations: 0.7103 MB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.182e-05/0.00338, allocations: 8.531 kB / 0.8143 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.003506, allocations: 28.73 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.817e-05/0.003584, allocations: 47.53 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.003936, allocations: 168.6 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.004261, allocations: 416.3 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.004507, allocations: 218.1 kB / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.004676, allocations: 203.6 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.004799, allocations: 111.7 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.004837, allocations: 41.53 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.208e-05/0.004899, allocations: 43.98 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.004959, allocations: 83.73 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.728e-05/0.005036, allocations: 107.7 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.005295, allocations: 268.3 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005297, allocations: 0 / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005298, allocations: 0 / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.005302, 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.0006078/0.00591, allocations: 0.629 MB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.005943, allocations: 12.03 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.006125, allocations: 64.73 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.006349, allocations: 217.5 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.006378, allocations: 29.03 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.00641, allocations: 32.38 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.006755, allocations: 265.3 kB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.006766, allocations: 192 / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.006788, allocations: 16.38 kB / 0.8171 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.006799, allocations: 12.52 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.006983, allocations: 119.8 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/0.007773, allocations: 0.8328 MB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.00801, allocations: 167.9 kB / 0.8182 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.608e-05/0.008096, allocations: 68.38 kB / 0.8183 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.008118, allocations: 4 kB / 0.8183 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.008289, allocations: 138.2 kB / 0.8184 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.008291, allocations: 3.938 kB / 0.8184 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=32): time 0.0003518/0.008642, allocations: 250.5 kB / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.008673, allocations: 60.03 kB / 0.8187 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.008797, allocations: 244.3 kB / 0.819 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.008821, allocations: 38.8 kB / 0.819 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.008906, allocations: 203.5 kB / 0.8192 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.008951, allocations: 87.31 kB / 0.8193 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.648e-05/0.009038, allocations: 88.59 kB / 0.8194 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.009158, allocations: 0.5079 MB / 0.8199 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.009259, allocations: 83.38 kB / 0.8199 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.009379, allocations: 148.8 kB / 0.8201 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.009564, allocations: 203.4 kB / 0.8203 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.009567, allocations: 0 / 0.8203 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003124/0.009879, allocations: 321.4 kB / 0.8206 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.009905, allocations: 37.7 kB / 0.8206 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.009911, allocations: 6.297 kB / 0.8206 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.009927, allocations: 4 kB / 0.8206 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.01005, allocations: 39.92 kB / 0.8207 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.01006, allocations: 4 kB / 0.8207 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.01016, allocations: 55.19 kB / 0.8207 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.01018, allocations: 16 kB / 0.8207 GB, free: 8.008 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.0001044/0.01028, allocations: 192.4 kB / 0.8209 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.01059, allocations: 35.8 kB / 0.821 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.01063, allocations: 30.64 kB / 0.821 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01063, allocations: 4 kB / 0.821 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01064, allocations: 0.75 kB / 0.821 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01064, allocations: 0 / 0.821 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.01116, allocations: 0.6 MB / 0.8216 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01116, allocations: 0.5625 kB / 0.8216 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.01122, allocations: 24.55 kB / 0.8216 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01122, allocations: 1.469 kB / 0.8216 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01124, allocations: 8 kB / 0.8216 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01124, allocations: 3.938 kB / 0.8216 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01124, allocations: 0 / 0.8216 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.01148, allocations: 358.5 kB / 0.822 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.0115, allocations: 27.8 kB / 0.822 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.01152, allocations: 12.73 kB / 0.822 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.0116, allocations: 21.08 kB / 0.822 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.01167, allocations: 31.94 kB / 0.8221 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.01168, allocations: 12.66 kB / 0.8221 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.71e-05/0.01174, allocations: 156.8 kB / 0.8222 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01174, allocations: 1.281 kB / 0.8222 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001928/0.01193, allocations: 67.83 kB / 0.8223 GB, free: 6.379 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 8.344e-05/0.01202, allocations: 127.7 kB / 0.8224 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.01231, 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.302e-06/0.01231, allocations: 0 / 0.8227 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.01242, allocations: 99.5 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.0002197/0.01264, allocations: 36.83 kB / 0.8228 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006735/0.01331, allocations: 428.4 kB / 0.8232 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.636e-05/0.01337, allocations: 90.05 kB / 0.8233 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.15e-05/0.01343, allocations: 20.33 kB / 0.8233 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.01349, allocations: 29.02 kB / 0.8233 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.01349, allocations: 0 / 0.8233 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of Templates: time 0.004439/0.01793, allocations: 2.946 MB / 0.8262 GB, free: 2.324 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.045277948956937]