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.000793/0.000793, allocations: 100.4 kB / 19.71 MB, free: 448 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.0008341/0.0008341, allocations: 212.1 kB / 23 MB, free: 2.988 MB / 13.93 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.9824/0.9824, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.494/2.494, allocations: 0.5569 GB / 0.8628 GB, free: 29.32 MB / 0.6667 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 0.000909/0.000909, allocations: 68.2 kB / 1.255 GB, free: 22.31 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.377, allocations: 193.6 MB / 1.444 GB, free: 9.129 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.002187/0.3792, allocations: 0.84 MB / 1.445 GB, free: 8.289 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3803, allocations: 0.9172 MB / 1.446 GB, free: 7.359 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.3805, allocations: 4 kB / 1.446 GB, free: 7.355 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.3806, allocations: 11.81 kB / 1.446 GB, free: 7.344 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 5.461e-05/0.3807, allocations: 11.88 kB / 1.446 GB, free: 7.332 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.3809, allocations: 39.95 kB / 1.446 GB, free: 7.293 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.3811, allocations: 99.77 kB / 1.446 GB, free: 7.195 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3812, allocations: 35.84 kB / 1.446 GB, free: 7.16 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.3814, allocations: 43.86 kB / 1.446 GB, free: 7.117 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 8.703e-05/0.3814, allocations: 39.77 kB / 1.446 GB, free: 7.078 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3815, allocations: 12 kB / 1.446 GB, free: 7.066 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 6.034e-05/0.3815, allocations: 16 kB / 1.446 GB, free: 7.051 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.3815, allocations: 19.92 kB / 1.446 GB, free: 7.031 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.3816, allocations: 35.73 kB / 1.447 GB, free: 6.996 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3818, allocations: 135.4 kB / 1.447 GB, free: 6.863 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3818, allocations: 4 kB / 1.447 GB, free: 6.859 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3818, allocations: 0 / 1.447 GB, free: 6.859 MB / 1.12 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3818, allocations: 0 / 1.447 GB, free: 6.859 MB / 1.12 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.0005252/0.3823, allocations: 329.9 kB / 1.447 GB, free: 6.504 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.3824, allocations: 16.03 kB / 1.447 GB, free: 6.488 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.3825, allocations: 12.89 kB / 1.447 GB, free: 6.477 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.3829, allocations: 174.4 kB / 1.447 GB, free: 6.281 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3829, allocations: 4.375 kB / 1.447 GB, free: 6.277 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.3829, allocations: 8.375 kB / 1.447 GB, free: 6.27 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3831, allocations: 127.7 kB / 1.447 GB, free: 6.129 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3831, allocations: 3.938 kB / 1.447 GB, free: 6.125 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3831, allocations: 4 kB / 1.447 GB, free: 6.121 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3831, allocations: 4 kB / 1.447 GB, free: 6.117 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.3833, allocations: 47.91 kB / 1.447 GB, free: 6.07 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.3838, allocations: 395.4 kB / 1.448 GB, free: 5.645 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/0.3839, allocations: 34.56 kB / 1.448 GB, free: 5.602 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.3839, allocations: 12.92 kB / 1.448 GB, free: 5.586 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.3839, allocations: 0 / 1.448 GB, free: 5.586 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.3839, allocations: 34.55 kB / 1.448 GB, free: 5.543 MB / 1.12 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3839, allocations: 4 kB / 1.448 GB, free: 5.539 MB / 1.12 GB Notification: Performance of matching and sorting (n=2): time 0.0002208/0.3842, allocations: 65.67 kB / 1.448 GB, free: 5.469 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.3842, allocations: 55.34 kB / 1.448 GB, free: 5.402 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.3843, allocations: 151.2 kB / 1.448 GB, free: 5.242 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3844, allocations: 25.7 kB / 1.448 GB, free: 5.211 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.3844, allocations: 120.8 kB / 1.448 GB, free: 5.09 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.3844, allocations: 4 kB / 1.448 GB, free: 5.086 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.3845, allocations: 29.66 kB / 1.448 GB, free: 5.051 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.3846, allocations: 314.8 kB / 1.449 GB, free: 4.734 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.211e-05/0.3846, allocations: 20.11 kB / 1.449 GB, free: 4.715 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.3847, allocations: 69.98 kB / 1.449 GB, free: 4.625 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.992e-05/0.3848, allocations: 51.36 kB / 1.449 GB, free: 4.562 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.3848, allocations: 4 kB / 1.449 GB, free: 4.559 MB / 1.12 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001345/0.3849, allocations: 77.8 kB / 1.449 GB, free: 4.477 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3849, allocations: 8 kB / 1.449 GB, free: 4.469 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.3849, allocations: 8 kB / 1.449 GB, free: 4.461 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3849, allocations: 0 / 1.449 GB, free: 4.461 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.385, allocations: 15.92 kB / 1.449 GB, free: 4.445 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.385, allocations: 0 / 1.449 GB, free: 4.445 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.3851, allocations: 7.953 kB / 1.449 GB, free: 4.438 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3851, allocations: 4 kB / 1.449 GB, free: 4.434 MB / 1.12 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.453e-05/0.3851, allocations: 121.8 kB / 1.449 GB, free: 4.305 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.3852, allocations: 7.953 kB / 1.449 GB, free: 4.297 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.3852, allocations: 19.89 kB / 1.449 GB, free: 4.27 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.3852, allocations: 7.938 kB / 1.449 GB, free: 4.262 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3852, allocations: 0 / 1.449 GB, free: 4.262 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3852, allocations: 0 / 1.449 GB, free: 4.262 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.3854, allocations: 121.3 kB / 1.449 GB, free: 4.113 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3854, allocations: 0 / 1.449 GB, free: 4.113 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/0.3854, allocations: 4.047 kB / 1.449 GB, free: 4.109 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3854, allocations: 3.984 kB / 1.449 GB, free: 4.105 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3854, allocations: 3.938 kB / 1.449 GB, free: 4.102 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3854, allocations: 0 / 1.449 GB, free: 4.102 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3854, allocations: 3.938 kB / 1.449 GB, free: 4.098 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.3856, allocations: 159.5 kB / 1.449 GB, free: 3.926 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.3856, allocations: 3.953 kB / 1.449 GB, free: 3.922 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.3856, allocations: 4 kB / 1.449 GB, free: 3.918 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.3857, allocations: 3.984 kB / 1.449 GB, free: 3.914 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.3857, allocations: 11.92 kB / 1.449 GB, free: 3.902 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3857, allocations: 3.938 kB / 1.449 GB, free: 3.898 MB / 1.12 GB Notification: Performance of sorting global known variables: time 6.758e-05/0.3858, allocations: 108.8 kB / 1.449 GB, free: 3.793 MB / 1.12 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3858, allocations: 0 / 1.449 GB, free: 3.793 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0002391/0.386, allocations: 12 kB / 1.449 GB, free: 3.781 MB / 1.12 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.0001263/0.3861, allocations: 107.2 kB / 1.449 GB, free: 3.668 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.3863, allocations: 27.98 kB / 1.45 GB, free: 3.641 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3863, allocations: 0 / 1.45 GB, free: 3.641 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 3.393e-05/0.3863, allocations: 15.94 kB / 1.45 GB, free: 3.625 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3866, allocations: 11.98 kB / 1.45 GB, free: 3.613 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.387, allocations: 195.1 kB / 1.45 GB, free: 3.391 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.805e-05/0.3871, allocations: 85.31 kB / 1.45 GB, free: 3.285 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.3871, allocations: 11.44 kB / 1.45 GB, free: 3.273 MB / 1.12 GB Notification: Performance of SimCode: time 1.002e-06/0.3871, allocations: 0 / 1.45 GB, free: 3.273 MB / 1.12 GB Notification: Performance of Templates: time 0.003203/0.3903, allocations: 1.177 MB / 1.451 GB, free: 2.102 MB / 1.12 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 -emit_protected > 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: 8.35933112699422]