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.0009612/0.0009612, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001066/0.001066, allocations: 165 kB / 23.82 MB, free: 0.75 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.947/0.947, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.731/1.731, allocations: 359 MB / 0.6052 GB, free: 11.03 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.222e-06/1.222e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.066e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00241/0.00243, allocations: 2.079 MB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003512, allocations: 0.7144 MB / 0.7898 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.003619, allocations: 7.938 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.003747, allocations: 36.98 kB / 0.7899 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/0.003842, allocations: 39.59 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.004247, allocations: 173 kB / 0.7901 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.004596, allocations: 415.1 kB / 0.7905 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.004895, allocations: 213.7 kB / 0.7907 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.005078, allocations: 209 kB / 0.7909 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.005209, allocations: 115.6 kB / 0.791 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.00525, allocations: 40 kB / 0.791 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.577e-05/0.005316, allocations: 40.72 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.005381, allocations: 83.73 kB / 0.7911 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.005464, allocations: 105.4 kB / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.005741, allocations: 267 kB / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005743, allocations: 0 / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005744, allocations: 0 / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.005749, allocations: 3.938 kB / 0.7915 GB, free: 7.992 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.0006522/0.006401, allocations: 0.6244 MB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.006435, allocations: 13.62 kB / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.006635, allocations: 68.73 kB / 0.7922 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.006872, allocations: 216.1 kB / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.006907, allocations: 26.62 kB / 0.7924 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.00694, allocations: 32.38 kB / 0.7924 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.007305, allocations: 271.9 kB / 0.7927 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.007317, allocations: 192 / 0.7927 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.007338, allocations: 11.03 kB / 0.7927 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.007348, allocations: 11.94 kB / 0.7927 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.007544, allocations: 111.8 kB / 0.7928 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008876/0.008431, allocations: 0.8425 MB / 0.7937 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.008701, allocations: 164.1 kB / 0.7938 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.334e-05/0.008795, allocations: 72.11 kB / 0.7939 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.00882, allocations: 9.469 kB / 0.7939 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.009003, allocations: 140.8 kB / 0.794 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.009005, allocations: 0 / 0.794 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32): time 0.0003651/0.00937, allocations: 242.3 kB / 0.7943 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.009404, allocations: 59.94 kB / 0.7943 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.009535, allocations: 248.5 kB / 0.7945 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.009563, allocations: 37.7 kB / 0.7946 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.00965, allocations: 199.5 kB / 0.7948 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.009706, allocations: 91.31 kB / 0.7949 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.009797, allocations: 93 kB / 0.7949 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.009924, allocations: 0.504 MB / 0.7954 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.01003, allocations: 82.61 kB / 0.7955 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.01016, allocations: 154.1 kB / 0.7957 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.01035, allocations: 193.4 kB / 0.7958 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.01035, allocations: 0 / 0.7958 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003242/0.01068, allocations: 330.6 kB / 0.7962 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.0107, allocations: 33.7 kB / 0.7962 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01071, allocations: 0 / 0.7962 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.01072, allocations: 4 kB / 0.7962 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.01086, allocations: 51.84 kB / 0.7963 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.01086, allocations: 0.875 kB / 0.7963 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.01096, allocations: 47.23 kB / 0.7963 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.01098, allocations: 15.98 kB / 0.7963 GB, free: 2.754 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.0001073/0.01109, allocations: 192.5 kB / 0.7965 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.01112, allocations: 35.8 kB / 0.7965 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.01116, allocations: 30.64 kB / 0.7966 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01116, allocations: 4.625 kB / 0.7966 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01117, allocations: 0 / 0.7966 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01117, allocations: 1.844 kB / 0.7966 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/0.01173, allocations: 0.5972 MB / 0.7971 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.01174, allocations: 3.984 kB / 0.7972 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.0118, allocations: 27.92 kB / 0.7972 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.0118, allocations: 2 kB / 0.7972 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.01182, allocations: 8 kB / 0.7972 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01182, allocations: 0 / 0.7972 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01182, allocations: 3.938 kB / 0.7972 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.01208, allocations: 368.9 kB / 0.7975 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.0121, allocations: 20.39 kB / 0.7976 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.01212, allocations: 8 kB / 0.7976 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.01221, allocations: 29.72 kB / 0.7976 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.01228, allocations: 35.94 kB / 0.7976 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.0123, allocations: 5.344 kB / 0.7976 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.114e-05/0.01236, allocations: 155.9 kB / 0.7978 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01236, allocations: 0 / 0.7978 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002055/0.01256, allocations: 67.83 kB / 0.7979 GB, free: 1.113 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.317e-05/0.01265, allocations: 124.5 kB / 0.798 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002908/0.01295, allocations: 265.5 kB / 0.7982 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.01295, allocations: 0 / 0.7982 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.01306, allocations: 91.58 kB / 0.7983 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01328, allocations: 38.69 kB / 0.7983 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.01398, allocations: 433.7 kB / 0.7988 GB, free: 132 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.186e-05/0.01403, allocations: 85.81 kB / 0.7988 GB, free: 20 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.629e-05/0.01411, allocations: 32.47 kB / 0.7989 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.01417, allocations: 25.62 kB / 0.7989 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of SimCode: time 7.71e-07/0.01417, allocations: 0 / 0.7989 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of Templates: time 0.004557/0.01873, allocations: 2.955 MB / 0.8018 GB, free: 13.07 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.993740392848849]