Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.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.0009704/0.0009704, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001016/0.001016, allocations: 169 kB / 23.02 MB, free: 1.547 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.9925/0.9925, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.088/2.088, allocations: 429.5 MB / 0.6733 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|makUpWat.watLev|makUpWat.watLevMin|makUpWat.watLevMax|makUpWat.yMakUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|makUpWat.watLev|makUpWat.watLevMin|makUpWat.watLevMax|makUpWat.yMakUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.204e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.001905/0.001927, allocations: 0.886 MB / 0.8791 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.003495, allocations: 0.9425 MB / 0.88 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.878e-05/0.003593, allocations: 3.938 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.003722, allocations: 15.03 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.003772, allocations: 7.875 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.003999, allocations: 51.81 kB / 0.8801 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.004135, allocations: 96.78 kB / 0.8802 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.004267, allocations: 35.91 kB / 0.8802 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.004431, allocations: 55.89 kB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.004503, allocations: 32.98 kB / 0.8803 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.00453, allocations: 8 kB / 0.8803 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.652e-05/0.004576, allocations: 12 kB / 0.8803 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.0046, allocations: 24.58 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.004637, allocations: 28.47 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.004798, allocations: 79.61 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.0048, allocations: 0.9062 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.22e-07/0.004801, allocations: 0 / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.004805, allocations: 1.188 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004505/0.005256, allocations: 428.2 kB / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.005295, allocations: 8.031 kB / 0.8808 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.00544, allocations: 25.91 kB / 0.8809 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.005707, allocations: 169.7 kB / 0.881 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.005719, allocations: 8.375 kB / 0.881 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.005736, allocations: 8.375 kB / 0.881 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.00592, allocations: 129.1 kB / 0.8812 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.005927, allocations: 192 / 0.8812 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.005941, allocations: 5.969 kB / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.005949, allocations: 4.125 kB / 0.8812 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.329e-05/0.006012, allocations: 23.92 kB / 0.8812 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.006523, allocations: 0.4898 MB / 0.8817 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.744e-05/0.006581, allocations: 34.19 kB / 0.8817 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.006603, allocations: 11.75 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.006617, allocations: 0 / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.006637, allocations: 33.39 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.006638, allocations: 0 / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001571/0.006795, allocations: 53.67 kB / 0.8818 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.006822, allocations: 52.81 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.006944, allocations: 204.2 kB / 0.882 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.006959, allocations: 25.7 kB / 0.8821 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.00704, allocations: 166.8 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.754e-06/0.007048, allocations: 4.484 kB / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.007088, allocations: 24.97 kB / 0.8823 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.007224, allocations: 0.4961 MB / 0.8827 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.007244, allocations: 4 kB / 0.8827 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.007301, allocations: 80.12 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/0.007358, allocations: 47.72 kB / 0.8829 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.007365, allocations: 4.5 kB / 0.8829 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001075/0.007473, allocations: 69.67 kB / 0.8829 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.007487, allocations: 8 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.007493, allocations: 7.922 kB / 0.883 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.007506, allocations: 0 / 0.883 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.984e-05/0.007566, allocations: 8.125 kB / 0.883 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.007573, allocations: 4 kB / 0.883 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.007615, allocations: 19.83 kB / 0.883 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.007623, allocations: 4 kB / 0.883 GB, free: 1.145 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (makUpWat.hys.y,$PRE.makUpWat.hys.y,makUpWat.greEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 8.013e-05/0.007704, allocations: 152.7 kB / 0.8831 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.007729, allocations: 23.86 kB / 0.8832 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.007755, allocations: 11.97 kB / 0.8832 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007757, allocations: 0 / 0.8832 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.00776, allocations: 0 / 0.8832 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.007763, allocations: 0 / 0.8832 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.008158, allocations: 136.5 kB / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.008159, allocations: 0 / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.008178, allocations: 4 kB / 0.8833 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.00818, allocations: 0 / 0.8833 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.008188, allocations: 4 kB / 0.8833 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.008192, allocations: 7.984 kB / 0.8833 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.008193, allocations: 4 kB / 0.8833 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.008317, allocations: 187.8 kB / 0.8835 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.008326, allocations: 3.984 kB / 0.8835 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.008345, allocations: 8 kB / 0.8835 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.008399, allocations: 0 / 0.8835 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.008443, allocations: 11.92 kB / 0.8835 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.008446, allocations: 0 / 0.8835 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.415e-05/0.00851, allocations: 145 kB / 0.8837 GB, free: 404 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.00851, allocations: 0 / 0.8837 GB, free: 404 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002517/0.008762, allocations: 12 kB / 0.8837 GB, free: 392 kB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (makUpWat.hys.y) * Number of discrete states: 1 (makUpWat.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.089e-05/0.008843, allocations: 107.2 kB / 0.8838 GB, free: 272 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.909e-05/0.008942, allocations: 31.61 kB / 0.8838 GB, free: 236 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008944, allocations: 0 / 0.8838 GB, free: 236 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.218e-05/0.008966, allocations: 15.69 kB / 0.8838 GB, free: 216 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.009218, allocations: 4 kB / 0.8838 GB, free: 212 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.009515, allocations: 169.8 kB / 0.884 GB, free: 16 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.528e-05/0.00957, allocations: 63.34 kB / 0.884 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.317e-05/0.009613, allocations: 12.44 kB / 0.8841 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.009652, allocations: 16.48 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.009653, allocations: 0 / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.002928/0.01258, allocations: 0.8326 MB / 0.8849 GB, free: 15.1 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Towers_Validation_WaterLevel.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.453149211592972]