Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterProperties.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.001552/0.001552, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001717/0.001717, allocations: 216 kB / 23.01 MB, free: 4.609 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.792/2.792, allocations: 476.7 MB / 0.7714 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 65.97 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3527, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006977/0.3597, allocations: 4.849 MB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003337/0.363, allocations: 2.734 MB / 1.292 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.3632, allocations: 0 / 1.292 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.3635, allocations: 43.69 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.3638, allocations: 99.36 kB / 1.292 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.3653, allocations: 0.5213 MB / 1.293 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.3657, allocations: 239.9 kB / 1.293 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.3657, allocations: 13.67 kB / 1.293 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.3659, allocations: 115.6 kB / 1.293 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3661, allocations: 95.59 kB / 1.293 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.3661, allocations: 8 kB / 1.293 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008163/0.3669, allocations: 391.2 kB / 1.294 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.367, allocations: 39.89 kB / 1.294 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.415e-05/0.3671, allocations: 79.66 kB / 1.294 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.3677, allocations: 374.8 kB / 1.294 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3677, allocations: 0 / 1.294 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3677, allocations: 0 / 1.294 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3677, allocations: 0 / 1.294 GB, free: 1.684 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007818/0.3685, allocations: 445.4 kB / 1.294 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3686, allocations: 8.031 kB / 1.294 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.3687, allocations: 32.77 kB / 1.294 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.369, allocations: 158.3 kB / 1.295 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.369, allocations: 16.7 kB / 1.295 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.3691, allocations: 20.3 kB / 1.295 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.3695, allocations: 260.1 kB / 1.295 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3695, allocations: 0 / 1.295 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.3696, allocations: 8 kB / 1.295 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.3696, allocations: 7.938 kB / 1.295 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.3701, allocations: 447.5 kB / 1.295 GB, free: 240 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.3713, allocations: 0.9168 MB / 1.296 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.3716, allocations: 151 kB / 1.296 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3717, allocations: 52.88 kB / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007767/0.3725, allocations: 463.8 kB / 1.297 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.3725, allocations: 42.56 kB / 1.297 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.3725, allocations: 0 / 1.297 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003345/0.3729, allocations: 145.5 kB / 1.297 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.3729, allocations: 59.34 kB / 1.297 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.3731, allocations: 171.9 kB / 1.297 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.3731, allocations: 33.7 kB / 1.297 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3732, allocations: 144 kB / 1.297 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.3733, allocations: 51.58 kB / 1.297 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/0.3734, allocations: 69.53 kB / 1.298 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3735, allocations: 326.8 kB / 1.298 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.3736, allocations: 35.98 kB / 1.298 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3737, allocations: 145.4 kB / 1.298 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.374, allocations: 201.5 kB / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.374, allocations: 0 / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003272/0.3743, allocations: 209.6 kB / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3743, allocations: 8.031 kB / 1.298 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3743, allocations: 4 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3743, allocations: 8 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.3745, allocations: 59.84 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3745, allocations: 4 kB / 1.298 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3746, allocations: 31.78 kB / 1.299 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.3747, allocations: 16 kB / 1.299 GB, free: 12.66 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001196/0.3748, allocations: 133.7 kB / 1.299 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.3748, allocations: 15.91 kB / 1.299 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.3751, allocations: 158.2 kB / 1.299 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.3751, allocations: 3.938 kB / 1.299 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3751, allocations: 0 / 1.299 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3751, allocations: 4 kB / 1.299 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.3754, allocations: 188.6 kB / 1.299 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3754, allocations: 0 / 1.299 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.3755, allocations: 31.92 kB / 1.299 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3755, allocations: 0 / 1.299 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.3755, allocations: 0 / 1.299 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3755, allocations: 7.938 kB / 1.299 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3755, allocations: 4 kB / 1.299 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.3758, allocations: 215.4 kB / 1.299 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.512e-05/0.3758, allocations: 35.8 kB / 1.299 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.3759, allocations: 4 kB / 1.299 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.3761, allocations: 23.91 kB / 1.299 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.3761, allocations: 7.984 kB / 1.299 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.3761, allocations: 11.98 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.46e-05/0.3762, allocations: 127.9 kB / 1.299 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3762, allocations: 0 / 1.299 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004033/0.3766, allocations: 75.88 kB / 1.3 GB, free: 11.55 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003267/0.3769, allocations: 180.6 kB / 1.3 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.3772, allocations: 115.7 kB / 1.3 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3772, allocations: 4 kB / 1.3 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.3772, allocations: 43.91 kB / 1.3 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.3777, allocations: 48.91 kB / 1.3 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/0.3784, allocations: 376.6 kB / 1.3 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3787, allocations: 0.709 MB / 1.301 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.3788, allocations: 31.42 kB / 1.301 GB, free: 10 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.3788, allocations: 0 / 1.301 GB, free: 10 MB / 0.9981 GB Notification: Performance of Templates: time 0.005765/0.3846, allocations: 3.229 MB / 1.304 GB, free: 6.793 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterProperties.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: 11.38515393200214]