Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001929/0.001929, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002313/0.002313, allocations: 212.8 kB / 22.24 MB, free: 5.121 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.766 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.498/3.498, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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_latest_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_latest_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.002128/0.002128, allocations: 65.44 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4214, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007005/0.4284, allocations: 4.518 MB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003513/0.432, allocations: 2.453 MB / 1.371 GB, free: 6.523 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.4321, allocations: 4 kB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.4324, allocations: 47.67 kB / 1.371 GB, free: 6.473 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.4328, allocations: 95.38 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.4343, allocations: 0.5198 MB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.4347, allocations: 231.9 kB / 1.372 GB, free: 5.633 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.993e-05/0.4347, allocations: 5.75 kB / 1.372 GB, free: 5.625 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.435, allocations: 119.6 kB / 1.372 GB, free: 5.508 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.4351, allocations: 95.59 kB / 1.372 GB, free: 5.414 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.4352, allocations: 8 kB / 1.372 GB, free: 5.406 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006543/0.4358, allocations: 311.4 kB / 1.372 GB, free: 5.102 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.132e-05/0.4359, allocations: 43.81 kB / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.198e-05/0.436, allocations: 71.72 kB / 1.372 GB, free: 4.988 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006094/0.4366, allocations: 354.9 kB / 1.373 GB, free: 4.641 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4366, allocations: 0 / 1.373 GB, free: 4.641 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4366, allocations: 0 / 1.373 GB, free: 4.641 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4366, allocations: 0 / 1.373 GB, free: 4.641 MB / 1.061 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.0009037/0.4375, allocations: 453.4 kB / 1.373 GB, free: 4.164 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4376, allocations: 8.031 kB / 1.373 GB, free: 4.156 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.4377, allocations: 28.84 kB / 1.373 GB, free: 4.129 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.4381, allocations: 150.3 kB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.4381, allocations: 12.7 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.4381, allocations: 16.36 kB / 1.373 GB, free: 3.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.4387, allocations: 491.4 kB / 1.374 GB, free: 3.375 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4387, allocations: 4 kB / 1.374 GB, free: 3.371 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.4387, allocations: 11.98 kB / 1.374 GB, free: 3.359 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.4388, allocations: 11.98 kB / 1.374 GB, free: 3.348 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/0.4393, allocations: 419.5 kB / 1.374 GB, free: 2.938 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.4406, allocations: 0.774 MB / 1.375 GB, free: 2.117 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.4409, allocations: 144.5 kB / 1.375 GB, free: 1.969 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.4411, allocations: 60.81 kB / 1.375 GB, free: 1.906 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000782/0.4418, allocations: 443.9 kB / 1.375 GB, free: 1.453 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.4419, allocations: 38.55 kB / 1.375 GB, free: 1.406 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.4419, allocations: 4 kB / 1.375 GB, free: 1.402 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003446/0.4422, allocations: 137.6 kB / 1.376 GB, free: 1.262 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.4423, allocations: 59.34 kB / 1.376 GB, free: 1.191 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.4424, allocations: 168.4 kB / 1.376 GB, free: 1.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.4425, allocations: 33.64 kB / 1.376 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.4426, allocations: 144.1 kB / 1.376 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.4426, allocations: 59.52 kB / 1.376 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/0.4427, allocations: 49.66 kB / 1.376 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4429, allocations: 326.8 kB / 1.376 GB, free: 404 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.4429, allocations: 39.97 kB / 1.376 GB, free: 364 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.4431, allocations: 149 kB / 1.377 GB, free: 168 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.4434, allocations: 201.5 kB / 1.377 GB, free: 15.92 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4434, allocations: 0 / 1.377 GB, free: 15.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003565/0.4438, allocations: 213.5 kB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.4438, allocations: 8 kB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4438, allocations: 4 kB / 1.377 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.4438, allocations: 4 kB / 1.377 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.444, allocations: 59.91 kB / 1.377 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.444, allocations: 19.86 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.4441, allocations: 31.78 kB / 1.377 GB, free: 15.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.4442, allocations: 8 kB / 1.377 GB, free: 15.57 MB / 1.076 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.0001215/0.4443, allocations: 129.8 kB / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.4443, allocations: 20.03 kB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/0.4447, allocations: 152.4 kB / 1.377 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.4447, allocations: 4 kB / 1.377 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.4447, allocations: 3.938 kB / 1.377 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4447, allocations: 0 / 1.377 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.4449, allocations: 153.2 kB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4449, allocations: 0 / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.445, allocations: 31.92 kB / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.445, allocations: 0 / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.445, allocations: 8 kB / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.445, allocations: 3.984 kB / 1.378 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.445, allocations: 4 kB / 1.378 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.4453, allocations: 227.3 kB / 1.378 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.4454, allocations: 31.81 kB / 1.378 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.4454, allocations: 0 / 1.378 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.4456, allocations: 15.98 kB / 1.378 GB, free: 14.74 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.4456, allocations: 7.984 kB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.4457, allocations: 19.92 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.24e-05/0.4457, allocations: 114.4 kB / 1.378 GB, free: 14.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4457, allocations: 0 / 1.378 GB, free: 14.61 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003796/0.4461, allocations: 75.88 kB / 1.378 GB, free: 14.53 MB / 1.076 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.0003374/0.4465, allocations: 183 kB / 1.378 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.4467, allocations: 111 kB / 1.378 GB, free: 14.24 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.4467, allocations: 8.062 kB / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.442e-05/0.4468, allocations: 43.91 kB / 1.378 GB, free: 14.19 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.4472, allocations: 30.33 kB / 1.378 GB, free: 14.16 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.4479, allocations: 352.1 kB / 1.379 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.4481, allocations: 102.9 kB / 1.379 GB, free: 13.67 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001498/0.4482, allocations: 49.31 kB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.4482, allocations: 27.44 kB / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.4482, allocations: 0 / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of Templates: time 0.007664/0.4559, allocations: 3.333 MB / 1.382 GB, free: 10.32 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.791185438632965]