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.000937/0.000937, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009826/0.0009826, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.9113/0.9113, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.778/1.778, allocations: 377.8 MB / 0.6239 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.435e-06/2.435e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.795e-05, allocations: 5.844 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002708/0.002736, allocations: 2.074 MB / 0.8135 GB, free: 16 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003749, allocations: 0.7191 MB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.003862, allocations: 4 kB / 0.8143 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.003999, allocations: 29.14 kB / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.004082, allocations: 43.53 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.004478, allocations: 172.9 kB / 0.8145 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.004826, allocations: 415.1 kB / 0.8149 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.005135, allocations: 218.2 kB / 0.8151 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.005331, allocations: 203.6 kB / 0.8153 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.005474, allocations: 116.4 kB / 0.8154 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.005519, allocations: 40.53 kB / 0.8154 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.005596, allocations: 40 kB / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.00567, allocations: 85.39 kB / 0.8156 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.874e-05/0.005759, allocations: 103.7 kB / 0.8157 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.006179, allocations: 267 kB / 0.8159 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006181, allocations: 0 / 0.8159 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.42e-07/0.006182, allocations: 0.5938 kB / 0.8159 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.006186, allocations: 0 / 0.8159 GB, free: 13.58 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.0006448/0.006831, allocations: 0.6364 MB / 0.8165 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.006864, allocations: 12.03 kB / 0.8165 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.007071, allocations: 65.89 kB / 0.8166 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.007299, allocations: 214.8 kB / 0.8168 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.007328, allocations: 30.41 kB / 0.8168 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.00736, allocations: 28.38 kB / 0.8169 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.007719, allocations: 268 kB / 0.8171 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.007729, allocations: 1.938 kB / 0.8171 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.00775, allocations: 12.31 kB / 0.8171 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.007761, allocations: 11.94 kB / 0.8171 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.007968, allocations: 119.8 kB / 0.8173 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008256/0.008793, allocations: 0.8362 MB / 0.8181 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.009035, allocations: 159.9 kB / 0.8182 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.81e-05/0.009123, allocations: 66.25 kB / 0.8183 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.009141, allocations: 8 kB / 0.8183 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.009313, allocations: 140.8 kB / 0.8184 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.009314, allocations: 3.938 kB / 0.8184 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=32): time 0.0003531/0.009667, allocations: 254.5 kB / 0.8187 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.009699, allocations: 55.41 kB / 0.8187 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.009835, allocations: 242 kB / 0.819 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.009862, allocations: 45.69 kB / 0.819 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/0.009946, allocations: 203.5 kB / 0.8192 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.009993, allocations: 79.33 kB / 0.8193 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/0.01008, allocations: 95.83 kB / 0.8194 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.01019, allocations: 0.5045 MB / 0.8199 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.01029, allocations: 79.23 kB / 0.8199 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.01042, allocations: 160.7 kB / 0.8201 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.0106, allocations: 196.6 kB / 0.8203 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.0106, allocations: 0 / 0.8203 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003058/0.0109, allocations: 328.4 kB / 0.8206 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.01093, allocations: 33.7 kB / 0.8206 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01093, allocations: 1.062 kB / 0.8206 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.01094, allocations: 4 kB / 0.8206 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.01106, allocations: 47.91 kB / 0.8207 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.01107, allocations: 8.812 kB / 0.8207 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.4e-05/0.01117, allocations: 44.61 kB / 0.8207 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.01118, allocations: 8 kB / 0.8207 GB, free: 8.348 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.0001084/0.01129, allocations: 204.2 kB / 0.8209 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.01132, allocations: 31.8 kB / 0.821 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.01136, allocations: 34.64 kB / 0.821 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01136, allocations: 4 kB / 0.821 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.01137, allocations: 0 / 0.821 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01137, allocations: 0 / 0.821 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.0119, allocations: 0.5935 MB / 0.8216 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.0119, allocations: 0 / 0.8216 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.01196, allocations: 31.92 kB / 0.8216 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01197, allocations: 0 / 0.8216 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01198, allocations: 9.016 kB / 0.8216 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01198, allocations: 0 / 0.8216 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01198, allocations: 0 / 0.8216 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.01222, allocations: 363.1 kB / 0.822 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.01224, allocations: 19.8 kB / 0.822 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.01226, allocations: 11.94 kB / 0.822 GB, free: 7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.01234, allocations: 25 kB / 0.822 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.01241, allocations: 37.06 kB / 0.822 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.01242, allocations: 4 kB / 0.8221 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.057e-05/0.01249, allocations: 164.7 kB / 0.8222 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01249, allocations: 0.7812 kB / 0.8222 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000205/0.01269, allocations: 71.83 kB / 0.8223 GB, free: 6.707 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.943e-05/0.01278, allocations: 116.4 kB / 0.8224 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.01308, allocations: 273.9 kB / 0.8226 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01308, allocations: 0 / 0.8226 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002495/0.01333, allocations: 95.52 kB / 0.8227 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.01356, allocations: 41.22 kB / 0.8228 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/0.01425, allocations: 428.8 kB / 0.8232 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.086e-05/0.0143, allocations: 87.39 kB / 0.8233 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.996e-05/0.01437, allocations: 32.02 kB / 0.8233 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.01443, allocations: 28.5 kB / 0.8233 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/0.01443, allocations: 0 / 0.8233 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of Templates: time 0.004614/0.01904, allocations: 2.94 MB / 0.8262 GB, free: 2.656 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.936422329861671]