Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001879/0.001879, 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.002293/0.002293, allocations: 210.5 kB / 22.24 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.793 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.385/3.385, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") [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.002149/0.002149, allocations: 61.7 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.427, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01826/0.4452, allocations: 11.96 MB / 1.376 GB, free: 1.527 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003321/0.4486, allocations: 2.411 MB / 1.378 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.194e-05/0.4486, allocations: 0 / 1.378 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.449, allocations: 47.67 kB / 1.378 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.4492, allocations: 95.38 kB / 1.378 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.4506, allocations: 0.5289 MB / 1.379 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.451, allocations: 239.9 kB / 1.379 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.844e-05/0.451, allocations: 5.75 kB / 1.379 GB, free: 14.2 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009247/0.4603, allocations: 3.582 MB / 1.382 GB, free: 10.6 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.4605, allocations: 91.64 kB / 1.382 GB, free: 10.51 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.4606, allocations: 8 kB / 1.382 GB, free: 10.5 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/0.4636, allocations: 1.027 MB / 1.383 GB, free: 9.477 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.4637, allocations: 43.83 kB / 1.383 GB, free: 9.434 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.93e-05/0.4638, allocations: 71.72 kB / 1.384 GB, free: 9.363 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007626/0.4646, allocations: 358.9 kB / 1.384 GB, free: 9.012 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4646, allocations: 7.922 kB / 1.384 GB, free: 9.004 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4646, allocations: 0 / 1.384 GB, free: 9.004 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4646, allocations: 3.938 kB / 1.384 GB, free: 9 MB / 1.076 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.0009866/0.4656, allocations: 441.4 kB / 1.384 GB, free: 8.539 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.4657, allocations: 12.03 kB / 1.384 GB, free: 8.527 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.4659, allocations: 24.83 kB / 1.384 GB, free: 8.504 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.4662, allocations: 162.3 kB / 1.384 GB, free: 8.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.4663, allocations: 8.703 kB / 1.384 GB, free: 8.312 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.4663, allocations: 16.38 kB / 1.385 GB, free: 8.297 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/0.467, allocations: 495.4 kB / 1.385 GB, free: 7.738 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.467, allocations: 7.875 kB / 1.385 GB, free: 7.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.467, allocations: 8 kB / 1.385 GB, free: 7.723 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.467, allocations: 8 kB / 1.385 GB, free: 7.715 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.4676, allocations: 423.5 kB / 1.385 GB, free: 7.301 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.4688, allocations: 0.7818 MB / 1.386 GB, free: 6.473 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.4692, allocations: 153.5 kB / 1.386 GB, free: 6.316 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.4693, allocations: 56.88 kB / 1.386 GB, free: 6.258 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007917/0.4701, allocations: 459.8 kB / 1.387 GB, free: 5.789 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.4701, allocations: 42.55 kB / 1.387 GB, free: 5.738 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.4701, allocations: 0 / 1.387 GB, free: 5.738 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0003667/0.4705, allocations: 141.5 kB / 1.387 GB, free: 5.594 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.4705, allocations: 55.41 kB / 1.387 GB, free: 5.527 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.4707, allocations: 166.2 kB / 1.387 GB, free: 5.352 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.4707, allocations: 25.7 kB / 1.387 GB, free: 5.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.4708, allocations: 144.1 kB / 1.387 GB, free: 5.176 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.4709, allocations: 59.52 kB / 1.387 GB, free: 5.117 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.471, allocations: 57.66 kB / 1.387 GB, free: 5.055 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4712, allocations: 318.8 kB / 1.388 GB, free: 4.734 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.861e-05/0.4712, allocations: 43.97 kB / 1.388 GB, free: 4.691 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.4714, allocations: 144.2 kB / 1.388 GB, free: 4.504 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.4717, allocations: 197.5 kB / 1.388 GB, free: 4.262 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4717, allocations: 0 / 1.388 GB, free: 4.262 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003451/0.472, allocations: 220 kB / 1.388 GB, free: 4.043 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.472, allocations: 6.031 kB / 1.388 GB, free: 4.039 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.472, allocations: 4 kB / 1.388 GB, free: 4.035 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4721, allocations: 4 kB / 1.388 GB, free: 4.031 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.4722, allocations: 63.91 kB / 1.388 GB, free: 3.969 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.4723, allocations: 11.88 kB / 1.388 GB, free: 3.957 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.4724, allocations: 27.78 kB / 1.388 GB, free: 3.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.4724, allocations: 12 kB / 1.388 GB, free: 3.918 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.0001396/0.4725, allocations: 134.1 kB / 1.389 GB, free: 3.777 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.4726, allocations: 15.94 kB / 1.389 GB, free: 3.762 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.4729, allocations: 150.2 kB / 1.389 GB, free: 3.605 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.4729, allocations: 4 kB / 1.389 GB, free: 3.602 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.4729, allocations: 3.938 kB / 1.389 GB, free: 3.598 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4729, allocations: 0 / 1.389 GB, free: 3.598 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.4732, allocations: 149.2 kB / 1.389 GB, free: 3.422 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4732, allocations: 7.938 kB / 1.389 GB, free: 3.414 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.4733, allocations: 27.92 kB / 1.389 GB, free: 3.387 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.4733, allocations: 4 kB / 1.389 GB, free: 3.383 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.4733, allocations: 8 kB / 1.389 GB, free: 3.375 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.4733, allocations: 7.922 kB / 1.389 GB, free: 3.367 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4733, allocations: 0 / 1.389 GB, free: 3.367 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.4736, allocations: 219.4 kB / 1.389 GB, free: 3.137 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.4737, allocations: 35.8 kB / 1.389 GB, free: 3.102 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.4737, allocations: 4 kB / 1.389 GB, free: 3.098 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.4739, allocations: 8 kB / 1.389 GB, free: 3.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.4739, allocations: 19.91 kB / 1.389 GB, free: 3.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.4739, allocations: 11.94 kB / 1.389 GB, free: 3.059 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.253e-05/0.474, allocations: 113.1 kB / 1.389 GB, free: 2.949 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.474, allocations: 4 kB / 1.389 GB, free: 2.945 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004203/0.4744, allocations: 79.86 kB / 1.389 GB, free: 2.867 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.0003674/0.4748, allocations: 190.9 kB / 1.39 GB, free: 2.672 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.4751, allocations: 113.7 kB / 1.39 GB, free: 2.562 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4751, allocations: 4 kB / 1.39 GB, free: 2.559 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.316e-05/0.4751, allocations: 39.92 kB / 1.39 GB, free: 2.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.4755, allocations: 44.89 kB / 1.39 GB, free: 2.477 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008221/0.4764, allocations: 340.2 kB / 1.39 GB, free: 2.117 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.4765, allocations: 110.5 kB / 1.39 GB, free: 1.992 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.4766, allocations: 41.28 kB / 1.39 GB, free: 1.949 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.4767, allocations: 23.44 kB / 1.39 GB, free: 1.93 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.4767, allocations: 4 kB / 1.39 GB, free: 1.926 MB / 1.076 GB Notification: Performance of Templates: time 0.008568/0.4853, allocations: 3.526 MB / 1.394 GB, free: 14.46 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.404945047572255]