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.0008123/0.0008123, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001112/0.001112, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.9593/0.9593, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.768/1.768, allocations: 359 MB / 0.6063 GB, free: 10.91 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.172e-06/1.172e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.27e-05, allocations: 4.406 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002607/0.00262, allocations: 2.045 MB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.003501, allocations: 0.7105 MB / 0.791 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.00359, allocations: 7.938 kB / 0.791 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.003698, allocations: 28.7 kB / 0.791 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.256e-05/0.003771, allocations: 40.39 kB / 0.7911 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.004074, allocations: 176.6 kB / 0.7912 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.004379, allocations: 411.2 kB / 0.7916 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.004614, allocations: 219 kB / 0.7918 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.004771, allocations: 207.6 kB / 0.792 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.004884, allocations: 107.7 kB / 0.7921 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.00492, allocations: 40 kB / 0.7922 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.445e-05/0.004975, allocations: 45.78 kB / 0.7922 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.005034, allocations: 87.72 kB / 0.7923 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.983e-05/0.005104, allocations: 103.7 kB / 0.7924 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.005338, allocations: 267 kB / 0.7927 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.005344, allocations: 0 / 0.7927 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005344, allocations: 0.5312 kB / 0.7927 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.005349, allocations: 0.7188 kB / 0.7927 GB, free: 7.781 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.0005648/0.005914, allocations: 0.6277 MB / 0.7933 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.005941, allocations: 13.69 kB / 0.7933 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.006116, allocations: 72.72 kB / 0.7934 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.006334, allocations: 219.1 kB / 0.7936 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.006358, allocations: 21.59 kB / 0.7936 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.00639, allocations: 40.36 kB / 0.7936 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.006666, allocations: 248.4 kB / 0.7939 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.006675, allocations: 1.062 kB / 0.7939 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.006695, allocations: 12.38 kB / 0.7939 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006702, allocations: 9.094 kB / 0.7939 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.006819, allocations: 92.44 kB / 0.794 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.00754, allocations: 0.8009 MB / 0.7947 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.007731, allocations: 149.1 kB / 0.7949 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.007789, allocations: 55.66 kB / 0.7949 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.007805, allocations: 4 kB / 0.7949 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.007948, allocations: 134.2 kB / 0.7951 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.007949, allocations: 4 kB / 0.7951 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32): time 0.0002688/0.008218, allocations: 218.3 kB / 0.7953 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.008245, allocations: 60.84 kB / 0.7953 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.008364, allocations: 247 kB / 0.7956 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.008393, allocations: 41.69 kB / 0.7956 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/0.008475, allocations: 207.5 kB / 0.7958 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.00852, allocations: 82.16 kB / 0.7959 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/0.008607, allocations: 99.77 kB / 0.796 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.008725, allocations: 0.5079 MB / 0.7965 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.008791, allocations: 62.67 kB / 0.7965 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/0.008887, allocations: 148.7 kB / 0.7967 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.009029, allocations: 180.6 kB / 0.7969 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.009031, allocations: 1.938 kB / 0.7969 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006509/0.009682, allocations: 300.2 kB / 0.7972 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.009707, allocations: 40.23 kB / 0.7972 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.009712, allocations: 0 / 0.7972 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.009722, allocations: 4 kB / 0.7972 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.009837, allocations: 47.91 kB / 0.7972 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.009841, allocations: 4 kB / 0.7972 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.625e-05/0.009937, allocations: 48.55 kB / 0.7973 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.009953, allocations: 8 kB / 0.7973 GB, free: 2.738 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.0001104/0.01006, allocations: 202.5 kB / 0.7975 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.0101, allocations: 35.8 kB / 0.7975 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.01013, allocations: 26.66 kB / 0.7975 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01014, allocations: 4.844 kB / 0.7976 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.01014, allocations: 0 / 0.7976 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01014, allocations: 5.141 kB / 0.7976 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.01062, allocations: 0.5431 MB / 0.7981 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01063, allocations: 0 / 0.7981 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.01069, allocations: 28.91 kB / 0.7981 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.01069, allocations: 4 kB / 0.7981 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.0107, allocations: 5.125 kB / 0.7981 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.0107, allocations: 4 kB / 0.7981 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.01071, allocations: 3.938 kB / 0.7981 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.01093, allocations: 350 kB / 0.7985 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.01094, allocations: 19.8 kB / 0.7985 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.01096, allocations: 8 kB / 0.7985 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.01104, allocations: 25.19 kB / 0.7985 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.01111, allocations: 37.69 kB / 0.7986 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.01112, allocations: 8 kB / 0.7986 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.939e-05/0.01117, allocations: 147.8 kB / 0.7987 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01117, allocations: 0 / 0.7987 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001935/0.01136, allocations: 67.83 kB / 0.7988 GB, free: 1.18 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.695e-05/0.01146, allocations: 127.6 kB / 0.7989 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.0117, allocations: 238.2 kB / 0.7991 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.0117, allocations: 0 / 0.7991 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.723e-05/0.01178, allocations: 92.19 kB / 0.7992 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.012, allocations: 42.75 kB / 0.7992 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.01257, allocations: 416 kB / 0.7996 GB, free: 236 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.92e-05/0.01262, allocations: 88.92 kB / 0.7997 GB, free: 120 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.474e-05/0.01269, allocations: 24.84 kB / 0.7997 GB, free: 100 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.01282, allocations: 118.2 kB / 0.7999 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of SimCode: time 7.02e-07/0.01282, allocations: 0 / 0.7999 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of Templates: time 0.004739/0.01756, allocations: 3.281 MB / 0.8031 GB, free: 12.74 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.988737181760371]