Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009278/0.0009278, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.000978/0.000978, allocations: 181 kB / 24.09 MB, free: 412 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.9695/0.9695, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.694/1.694, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.048e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002296/0.002317, allocations: 2.035 MB / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.003255, allocations: 0.7033 MB / 0.7902 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.753e-05/0.003352, allocations: 8.688 kB / 0.7902 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.003471, allocations: 35.55 kB / 0.7903 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.83e-05/0.00355, allocations: 46.73 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.003898, allocations: 163.7 kB / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.004211, allocations: 415.1 kB / 0.7909 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.004452, allocations: 213.7 kB / 0.7911 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.004636, allocations: 219.5 kB / 0.7913 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.004767, allocations: 108.3 kB / 0.7914 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.004807, allocations: 40 kB / 0.7914 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.311e-05/0.00487, allocations: 41.25 kB / 0.7915 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.004933, allocations: 87.72 kB / 0.7916 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.005003, allocations: 99.8 kB / 0.7916 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.005257, allocations: 272.5 kB / 0.7919 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.00526, allocations: 4 kB / 0.7919 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.00526, allocations: 0 / 0.7919 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.005265, allocations: 0 / 0.7919 GB, free: 7.75 MB / 0.7448 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.0005812/0.005846, allocations: 0.6287 MB / 0.7925 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.00588, allocations: 12.03 kB / 0.7925 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.006074, allocations: 70.88 kB / 0.7926 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.006269, allocations: 212.1 kB / 0.7928 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.006293, allocations: 25.03 kB / 0.7928 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.006323, allocations: 36.36 kB / 0.7929 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.006598, allocations: 244 kB / 0.7931 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.006609, allocations: 4.703 kB / 0.7931 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.006627, allocations: 17.03 kB / 0.7931 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.006634, allocations: 7.938 kB / 0.7931 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.006755, allocations: 92.95 kB / 0.7932 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007287/0.007483, allocations: 0.805 MB / 0.794 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.007675, allocations: 153.4 kB / 0.7941 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.093e-05/0.007736, allocations: 59.62 kB / 0.7942 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.007754, allocations: 4.5 kB / 0.7942 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.007911, allocations: 129.5 kB / 0.7943 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.007914, allocations: 4.625 kB / 0.7943 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32): time 0.000291/0.008205, allocations: 218.2 kB / 0.7945 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.008242, allocations: 60.78 kB / 0.7946 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.008378, allocations: 248 kB / 0.7948 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.008405, allocations: 37.7 kB / 0.7949 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.008507, allocations: 205.1 kB / 0.7951 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.008562, allocations: 87.3 kB / 0.7952 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.008665, allocations: 91.78 kB / 0.7952 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.008804, allocations: 0.5079 MB / 0.7957 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.008875, allocations: 66.66 kB / 0.7958 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.969e-05/0.008975, allocations: 141.6 kB / 0.7959 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.009119, allocations: 187 kB / 0.7961 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.009122, allocations: 0 / 0.7961 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002533/0.009375, allocations: 300.2 kB / 0.7964 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.009404, allocations: 43.8 kB / 0.7964 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.009409, allocations: 0 / 0.7964 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.009422, allocations: 6.5 kB / 0.7964 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.009535, allocations: 43.91 kB / 0.7965 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.00954, allocations: 4 kB / 0.7965 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.735e-05/0.009637, allocations: 47.75 kB / 0.7965 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.009653, allocations: 13.78 kB / 0.7966 GB, free: 2.711 MB / 0.7448 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.0001043/0.009758, allocations: 196.4 kB / 0.7967 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.009787, allocations: 36.33 kB / 0.7968 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.009825, allocations: 27.2 kB / 0.7968 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.009827, allocations: 7.938 kB / 0.7968 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.009829, allocations: 1.625 kB / 0.7968 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.009833, allocations: 0 / 0.7968 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.01029, allocations: 0.5509 MB / 0.7973 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01029, allocations: 0 / 0.7973 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.01035, allocations: 29.05 kB / 0.7974 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01035, allocations: 4 kB / 0.7974 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.01036, allocations: 8.859 kB / 0.7974 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01036, allocations: 4 kB / 0.7974 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01036, allocations: 0 / 0.7974 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.01058, allocations: 344.7 kB / 0.7977 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.01059, allocations: 23.78 kB / 0.7977 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.01061, allocations: 8 kB / 0.7978 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.01069, allocations: 23.97 kB / 0.7978 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.01076, allocations: 31.95 kB / 0.7978 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.01077, allocations: 11.98 kB / 0.7978 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.304e-05/0.01082, allocations: 150.2 kB / 0.798 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01082, allocations: 0 / 0.798 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001884/0.01101, allocations: 73.05 kB / 0.798 GB, free: 1.148 MB / 0.7448 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 9.624e-05/0.01111, allocations: 114.2 kB / 0.7981 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.01134, allocations: 246.7 kB / 0.7984 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01134, allocations: 0 / 0.7984 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.01143, allocations: 88.59 kB / 0.7985 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.01166, allocations: 45.03 kB / 0.7985 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007074/0.01237, allocations: 425.7 kB / 0.7989 GB, free: 196 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.198e-05/0.01243, allocations: 88.92 kB / 0.799 GB, free: 84 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.596e-05/0.0125, allocations: 28.72 kB / 0.799 GB, free: 60 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.01263, allocations: 106.8 kB / 0.7991 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of SimCode: time 8.72e-07/0.01263, allocations: 480 / 0.7991 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of Templates: time 0.004887/0.01752, allocations: 3.209 MB / 0.8023 GB, free: 12.79 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.7976506049744785]