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.001537/0.001537, 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.001874/0.001874, allocations: 169 kB / 24.28 MB, free: 276 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.975/0.975, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.794/1.794, allocations: 359 MB / 0.6055 GB, free: 11.01 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.663e-06/1.663e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.564e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002433/0.002458, allocations: 2.058 MB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.003563, allocations: 0.7157 MB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.00367, allocations: 4 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.003801, allocations: 39.55 kB / 0.7898 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.952e-05/0.003881, allocations: 44.58 kB / 0.7899 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.004253, allocations: 160.4 kB / 0.79 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.004597, allocations: 424.5 kB / 0.7904 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.004859, allocations: 213.8 kB / 0.7907 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.00504, allocations: 215.6 kB / 0.7909 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.00517, allocations: 99.73 kB / 0.791 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.005211, allocations: 45 kB / 0.791 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.005285, allocations: 44 kB / 0.791 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.326e-05/0.005368, allocations: 85 kB / 0.7911 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.848e-05/0.005456, allocations: 103.7 kB / 0.7912 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.005757, allocations: 271 kB / 0.7915 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.00576, allocations: 0 / 0.7915 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.00576, allocations: 1.656 kB / 0.7915 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.005765, allocations: 0 / 0.7915 GB, free: 8.32 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.0006791/0.006444, allocations: 0.6249 MB / 0.7921 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.006481, allocations: 8.031 kB / 0.7921 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.006698, allocations: 72.72 kB / 0.7922 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.006938, allocations: 222.2 kB / 0.7924 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.006968, allocations: 22.47 kB / 0.7924 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.007002, allocations: 36.38 kB / 0.7924 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.007378, allocations: 264 kB / 0.7927 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.007388, allocations: 3 kB / 0.7927 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.00741, allocations: 12.38 kB / 0.7927 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.007422, allocations: 19.86 kB / 0.7927 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.007624, allocations: 107.9 kB / 0.7928 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008868/0.008511, allocations: 0.8387 MB / 0.7936 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.008773, allocations: 171 kB / 0.7938 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.008862, allocations: 63.66 kB / 0.7939 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.008882, allocations: 4 kB / 0.7939 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.009071, allocations: 140.9 kB / 0.794 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.009073, allocations: 1.156 kB / 0.794 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32): time 0.0003867/0.009459, allocations: 242.2 kB / 0.7942 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.009497, allocations: 63.41 kB / 0.7943 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.00963, allocations: 244.4 kB / 0.7945 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.009656, allocations: 41.7 kB / 0.7946 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.009745, allocations: 199.5 kB / 0.7948 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.009796, allocations: 93.06 kB / 0.7948 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.009887, allocations: 91.84 kB / 0.7949 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.01, allocations: 0.5001 MB / 0.7954 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.01011, allocations: 82.66 kB / 0.7955 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.01025, allocations: 156.7 kB / 0.7957 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.01043, allocations: 195.1 kB / 0.7958 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.01044, allocations: 0 / 0.7958 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003226/0.01076, allocations: 330 kB / 0.7962 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.01079, allocations: 33.69 kB / 0.7962 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01079, allocations: 4 kB / 0.7962 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.01081, allocations: 4 kB / 0.7962 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.01094, allocations: 39.92 kB / 0.7962 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.01095, allocations: 8.688 kB / 0.7962 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.01105, allocations: 49 kB / 0.7963 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.01107, allocations: 12 kB / 0.7963 GB, free: 3.086 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.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.0002497/0.01132, allocations: 190.4 kB / 0.7965 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.01135, allocations: 39.78 kB / 0.7965 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.01139, allocations: 23.47 kB / 0.7965 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01139, allocations: 4 kB / 0.7965 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.0114, allocations: 0.9375 kB / 0.7965 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.01141, allocations: 11.97 kB / 0.7966 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.01196, allocations: 0.5985 MB / 0.7971 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01196, allocations: 4 kB / 0.7971 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/0.01203, allocations: 27.86 kB / 0.7972 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01203, allocations: 4.75 kB / 0.7972 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.01204, allocations: 4 kB / 0.7972 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.01205, allocations: 5.938 kB / 0.7972 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01205, allocations: 0 / 0.7972 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.01231, allocations: 364.9 kB / 0.7975 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.01232, allocations: 19.8 kB / 0.7976 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.01235, allocations: 11.98 kB / 0.7976 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.01244, allocations: 24.2 kB / 0.7976 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.01252, allocations: 35.94 kB / 0.7976 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.01253, allocations: 7.984 kB / 0.7976 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.003e-05/0.01259, allocations: 155.8 kB / 0.7978 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01259, allocations: 0 / 0.7978 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002052/0.0128, allocations: 71.81 kB / 0.7978 GB, free: 1.441 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 0.0001125/0.01291, allocations: 113.9 kB / 0.798 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.01322, allocations: 270.5 kB / 0.7982 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01322, allocations: 0 / 0.7982 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.01333, allocations: 96.2 kB / 0.7983 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.01358, allocations: 37.78 kB / 0.7983 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007684/0.01435, allocations: 432.9 kB / 0.7988 GB, free: 468 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.544e-05/0.0144, allocations: 88.92 kB / 0.7988 GB, free: 352 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.829e-05/0.01447, allocations: 21.39 kB / 0.7989 GB, free: 336 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.01453, allocations: 29.11 kB / 0.7989 GB, free: 308 kB / 0.7448 GB Notification: Performance of SimCode: time 9.52e-07/0.01453, allocations: 0 / 0.7989 GB, free: 308 kB / 0.7448 GB Notification: Performance of Templates: time 0.004826/0.01936, allocations: 2.951 MB / 0.8018 GB, free: 13.4 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.985419945092872]