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.001792/0.001792, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002193/0.002193, allocations: 213.9 kB / 22.25 MB, free: 4.859 MB / 14.72 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 1.737/1.737, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.739/3.739, allocations: 0.5569 GB / 0.862 GB, free: 4.387 MB / 0.6544 GB " [Timeout remaining time 176] 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 0.002302/0.002302, allocations: 59.91 kB / 1.255 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4742, allocations: 193.6 MB / 1.444 GB, free: 15.46 MB / 1.139 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.002551/0.4767, allocations: 0.8421 MB / 1.445 GB, free: 14.62 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.4783, allocations: 0.9172 MB / 1.446 GB, free: 13.7 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.4784, allocations: 7.938 kB / 1.446 GB, free: 13.69 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.4785, allocations: 11.88 kB / 1.446 GB, free: 13.68 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.4786, allocations: 11.86 kB / 1.446 GB, free: 13.66 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.4788, allocations: 47.89 kB / 1.446 GB, free: 13.62 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.479, allocations: 95.77 kB / 1.446 GB, free: 13.52 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.4792, allocations: 31.92 kB / 1.446 GB, free: 13.49 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.4794, allocations: 47.78 kB / 1.446 GB, free: 13.45 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.952e-05/0.4795, allocations: 35.84 kB / 1.446 GB, free: 13.41 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.4795, allocations: 8 kB / 1.446 GB, free: 13.4 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.138e-05/0.4796, allocations: 19.94 kB / 1.446 GB, free: 13.38 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.4796, allocations: 15.98 kB / 1.446 GB, free: 13.37 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 5.563e-05/0.4797, allocations: 35.8 kB / 1.447 GB, free: 13.33 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.4799, allocations: 139.4 kB / 1.447 GB, free: 13.2 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.48, allocations: 0 / 1.447 GB, free: 13.2 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.164e-06/0.48, allocations: 0 / 1.447 GB, free: 13.2 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.48, allocations: 0 / 1.447 GB, free: 13.2 MB / 1.139 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.0007337/0.4807, allocations: 333.9 kB / 1.447 GB, free: 12.84 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4807, allocations: 12.03 kB / 1.447 GB, free: 12.82 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.4809, allocations: 20.88 kB / 1.447 GB, free: 12.8 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.4814, allocations: 170.5 kB / 1.447 GB, free: 12.61 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.4815, allocations: 384 / 1.447 GB, free: 12.61 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.4815, allocations: 12.38 kB / 1.447 GB, free: 12.6 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.4818, allocations: 131.6 kB / 1.447 GB, free: 12.46 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4818, allocations: 11.86 kB / 1.447 GB, free: 12.45 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.4818, allocations: 0 / 1.447 GB, free: 12.45 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.4818, allocations: 8 kB / 1.447 GB, free: 12.44 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.482, allocations: 43.97 kB / 1.447 GB, free: 12.39 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.4827, allocations: 399.5 kB / 1.448 GB, free: 11.96 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.4828, allocations: 30.61 kB / 1.448 GB, free: 11.93 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.733e-05/0.4829, allocations: 16.91 kB / 1.448 GB, free: 11.91 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.4829, allocations: 4 kB / 1.448 GB, free: 11.9 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.4829, allocations: 30.56 kB / 1.448 GB, free: 11.86 MB / 1.139 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4829, allocations: 4 kB / 1.448 GB, free: 11.86 MB / 1.139 GB Notification: Performance of matching and sorting (n=2): time 0.0003025/0.4832, allocations: 61.62 kB / 1.448 GB, free: 11.79 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.4833, allocations: 59.28 kB / 1.448 GB, free: 11.72 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.4835, allocations: 140 kB / 1.448 GB, free: 11.57 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.4835, allocations: 33.7 kB / 1.448 GB, free: 11.54 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.4836, allocations: 111.9 kB / 1.448 GB, free: 11.42 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.4836, allocations: 4 kB / 1.448 GB, free: 11.42 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.4837, allocations: 29.66 kB / 1.448 GB, free: 11.38 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.4839, allocations: 322.8 kB / 1.449 GB, free: 11.06 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.846e-05/0.484, allocations: 12.12 kB / 1.449 GB, free: 11.05 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.4841, allocations: 73.98 kB / 1.449 GB, free: 10.95 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.4842, allocations: 51.36 kB / 1.449 GB, free: 10.89 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4842, allocations: 0 / 1.449 GB, free: 10.89 MB / 1.139 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000177/0.4844, allocations: 73.61 kB / 1.449 GB, free: 10.81 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4844, allocations: 12.12 kB / 1.449 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4844, allocations: 0 / 1.449 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.4844, allocations: 0 / 1.449 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.4845, allocations: 19.86 kB / 1.449 GB, free: 10.78 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.4845, allocations: 0 / 1.449 GB, free: 10.78 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.4846, allocations: 11.89 kB / 1.449 GB, free: 10.77 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4846, allocations: 4 kB / 1.449 GB, free: 10.77 MB / 1.139 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 0.0001418/0.4848, allocations: 125.8 kB / 1.449 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.4848, allocations: 3.953 kB / 1.449 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.4848, allocations: 19.91 kB / 1.449 GB, free: 10.6 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4848, allocations: 3.938 kB / 1.449 GB, free: 10.6 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4848, allocations: 0 / 1.449 GB, free: 10.6 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4848, allocations: 128 / 1.449 GB, free: 10.6 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.485, allocations: 125.3 kB / 1.449 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.485, allocations: 0 / 1.449 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.4851, allocations: 4 kB / 1.449 GB, free: 10.44 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/0.4851, allocations: 3.984 kB / 1.449 GB, free: 10.44 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.4851, allocations: 4 kB / 1.449 GB, free: 10.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4851, allocations: 3.938 kB / 1.449 GB, free: 10.43 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4851, allocations: 3.938 kB / 1.449 GB, free: 10.43 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.4853, allocations: 151.4 kB / 1.449 GB, free: 10.26 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.4853, allocations: 11.94 kB / 1.449 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.4853, allocations: 4 kB / 1.449 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.4854, allocations: 4 kB / 1.449 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.4855, allocations: 7.922 kB / 1.449 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.4855, allocations: 4 kB / 1.449 GB, free: 10.23 MB / 1.139 GB Notification: Performance of sorting global known variables: time 9.926e-05/0.4856, allocations: 99.27 kB / 1.449 GB, free: 10.13 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4856, allocations: 0 / 1.449 GB, free: 10.13 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002551/0.4858, allocations: 15.98 kB / 1.449 GB, free: 10.12 MB / 1.139 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 0.0001569/0.486, allocations: 103.3 kB / 1.449 GB, free: 10.01 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.4862, allocations: 31.97 kB / 1.449 GB, free: 9.977 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4862, allocations: 0 / 1.449 GB, free: 9.977 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 6.147e-05/0.4862, allocations: 15.98 kB / 1.449 GB, free: 9.961 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.4865, allocations: 10.14 kB / 1.45 GB, free: 9.953 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.4869, allocations: 165.4 kB / 1.45 GB, free: 9.766 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.487, allocations: 85.27 kB / 1.45 GB, free: 9.66 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 6.929e-05/0.4871, allocations: 12.42 kB / 1.45 GB, free: 9.645 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.4872, allocations: 15.44 kB / 1.45 GB, free: 9.633 MB / 1.139 GB Notification: Performance of SimCode: time 3e-07/0.4872, allocations: 4 kB / 1.45 GB, free: 9.629 MB / 1.139 GB Notification: Performance of Templates: time 0.004252/0.4914, allocations: 0.8515 MB / 1.451 GB, free: 8.801 MB / 1.139 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.458086807280779]