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.00129/0.00129, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001464/0.001464, allocations: 181 kB / 24.08 MB, free: 424 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.9788/0.9788, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.908/1.908, allocations: 377.9 MB / 0.624 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 177] 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.393e-06/1.393e-06, allocations: 0 / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.298e-05, allocations: 2.312 kB / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00248/0.002503, allocations: 2.042 MB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.003753, allocations: 0.719 MB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.003858, allocations: 7.938 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.003974, allocations: 28.52 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.136e-05/0.004055, allocations: 37.97 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.004435, allocations: 179.6 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.004771, allocations: 407.2 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.005033, allocations: 221.8 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.005209, allocations: 203.6 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.005335, allocations: 112.8 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.005373, allocations: 40 kB / 0.8159 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.547e-05/0.005439, allocations: 47.92 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.005499, allocations: 80.91 kB / 0.816 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.43e-05/0.005573, allocations: 107.7 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.005849, allocations: 271 kB / 0.8164 GB, free: 13 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.00585, allocations: 0.7812 kB / 0.8164 GB, free: 13 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.01e-07/0.005851, allocations: 0 / 0.8164 GB, free: 13 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.005855, allocations: 1.344 kB / 0.8164 GB, free: 13 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.0005762/0.006431, allocations: 0.6272 MB / 0.817 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.006464, allocations: 12.56 kB / 0.817 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.006647, allocations: 66.67 kB / 0.8171 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.006845, allocations: 222.5 kB / 0.8173 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.006873, allocations: 29.03 kB / 0.8173 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.006902, allocations: 28.38 kB / 0.8173 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.007185, allocations: 253.7 kB / 0.8176 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.007195, allocations: 192 / 0.8176 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.007213, allocations: 12.38 kB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.007222, allocations: 11.94 kB / 0.8176 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.007339, allocations: 96.42 kB / 0.8177 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007333/0.008073, allocations: 0.7977 MB / 0.8185 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.008261, allocations: 152 kB / 0.8186 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.008317, allocations: 55.64 kB / 0.8187 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.008333, allocations: 8 kB / 0.8187 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.008488, allocations: 133.4 kB / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.00849, allocations: 1.375 kB / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=32): time 0.0004427/0.008933, allocations: 214.5 kB / 0.819 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.008968, allocations: 67.33 kB / 0.8191 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.00912, allocations: 244.5 kB / 0.8193 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.00915, allocations: 42.55 kB / 0.8193 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.009236, allocations: 199.5 kB / 0.8195 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.009286, allocations: 92.12 kB / 0.8196 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.246e-05/0.009378, allocations: 95.78 kB / 0.8197 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.009512, allocations: 0.5013 MB / 0.8202 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.009587, allocations: 66.66 kB / 0.8203 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.69e-05/0.009684, allocations: 144.7 kB / 0.8204 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.009862, allocations: 186.3 kB / 0.8206 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.009866, allocations: 4 kB / 0.8206 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002581/0.01012, allocations: 293.8 kB / 0.8209 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.01016, allocations: 43.28 kB / 0.8209 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01016, allocations: 4 kB / 0.8209 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.01017, allocations: 0 / 0.8209 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.01031, allocations: 39.92 kB / 0.8209 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.01032, allocations: 10.67 kB / 0.8209 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.01042, allocations: 51.7 kB / 0.821 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.01044, allocations: 8 kB / 0.821 GB, free: 7.969 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.0001222/0.01057, allocations: 208.9 kB / 0.8212 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.0106, allocations: 37.14 kB / 0.8212 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.01064, allocations: 26.66 kB / 0.8213 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01064, allocations: 4 kB / 0.8213 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01064, allocations: 0.8438 kB / 0.8213 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.01065, allocations: 3.984 kB / 0.8213 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/0.01123, allocations: 0.5389 MB / 0.8218 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01123, allocations: 0 / 0.8218 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.01131, allocations: 31.97 kB / 0.8218 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01131, allocations: 0.9062 kB / 0.8218 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.01132, allocations: 8 kB / 0.8218 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01132, allocations: 0 / 0.8218 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.01133, allocations: 4.594 kB / 0.8218 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.01154, allocations: 342.7 kB / 0.8222 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.01156, allocations: 23.8 kB / 0.8222 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.01158, allocations: 10.97 kB / 0.8222 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.01167, allocations: 19.97 kB / 0.8222 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.01174, allocations: 35.94 kB / 0.8223 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01175, allocations: 8 kB / 0.8223 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.0118, allocations: 149.7 kB / 0.8224 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0118, allocations: 0 / 0.8224 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001952/0.01199, allocations: 74.39 kB / 0.8225 GB, free: 6.414 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.0001084/0.0121, allocations: 117.2 kB / 0.8226 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.01233, allocations: 250.9 kB / 0.8228 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01233, allocations: 0 / 0.8228 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.88e-05/0.01242, allocations: 92.62 kB / 0.8229 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.01266, allocations: 48.89 kB / 0.823 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007147/0.01337, allocations: 419.1 kB / 0.8234 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.236e-05/0.01343, allocations: 88.92 kB / 0.8234 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.79e-05/0.01349, allocations: 23.61 kB / 0.8235 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.01361, allocations: 114.2 kB / 0.8236 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of SimCode: time 9.92e-07/0.01361, allocations: 0 / 0.8236 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of Templates: time 0.005081/0.01869, allocations: 3.205 MB / 0.8267 GB, free: 2.062 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.048642421606928]