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.001665/0.001665, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002054/0.002054, allocations: 156.7 kB / 23.01 MB, free: 4.945 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.448/1.448, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.08/3.08, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 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.003312/0.003312, allocations: 66.23 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9553/0.9586, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01473/0.9733, allocations: 11.96 MB / 1.198 GB, free: 8.473 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002593/0.9759, allocations: 2.42 MB / 1.201 GB, free: 6.863 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.976, allocations: 1.031 kB / 1.201 GB, free: 6.863 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.9763, allocations: 42.56 kB / 1.201 GB, free: 6.844 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.9766, allocations: 107.2 kB / 1.201 GB, free: 6.773 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.978, allocations: 0.5197 MB / 1.201 GB, free: 6.504 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00025/0.9782, allocations: 235.8 kB / 1.202 GB, free: 6.398 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.9783, allocations: 7.672 kB / 1.202 GB, free: 6.395 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/0.9885, allocations: 3.584 MB / 1.205 GB, free: 4.961 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.9888, allocations: 94.77 kB / 1.205 GB, free: 4.922 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.9888, allocations: 8.031 kB / 1.205 GB, free: 4.922 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.9915, allocations: 1.042 MB / 1.206 GB, free: 4.547 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.9916, allocations: 41.52 kB / 1.206 GB, free: 4.523 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.064e-05/0.9917, allocations: 70.69 kB / 1.206 GB, free: 4.496 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007324/0.9924, allocations: 362.5 kB / 1.207 GB, free: 4.375 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.9924, allocations: 0 / 1.207 GB, free: 4.375 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.552e-06/0.9924, allocations: 0 / 1.207 GB, free: 4.375 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.9925, allocations: 1.594 kB / 1.207 GB, free: 4.375 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.0006894/0.9931, allocations: 446.7 kB / 1.207 GB, free: 4.012 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.9932, allocations: 9.5 kB / 1.207 GB, free: 4.012 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.9934, allocations: 22.48 kB / 1.207 GB, free: 4.004 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.9936, allocations: 165.5 kB / 1.207 GB, free: 3.848 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.9936, allocations: 11.23 kB / 1.207 GB, free: 3.844 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.9936, allocations: 22.28 kB / 1.207 GB, free: 3.832 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.994, allocations: 488.9 kB / 1.208 GB, free: 3.414 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.994, allocations: 0 / 1.208 GB, free: 3.414 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.9941, allocations: 15.27 kB / 1.208 GB, free: 3.402 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.9941, allocations: 6.219 kB / 1.208 GB, free: 3.402 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.9946, allocations: 426.6 kB / 1.208 GB, free: 3.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009404/0.9955, allocations: 0.7778 MB / 1.209 GB, free: 2.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.9959, allocations: 148.9 kB / 1.209 GB, free: 2.625 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.642e-05/0.9959, allocations: 54.78 kB / 1.209 GB, free: 2.602 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006595/0.9966, allocations: 463.8 kB / 1.21 GB, free: 2.277 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.9966, allocations: 37.69 kB / 1.21 GB, free: 2.234 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.9966, allocations: 3.938 kB / 1.21 GB, free: 2.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0003289/0.997, allocations: 144.2 kB / 1.21 GB, free: 2.164 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.997, allocations: 52.72 kB / 1.21 GB, free: 2.102 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.9971, allocations: 165.1 kB / 1.21 GB, free: 1.977 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.9971, allocations: 35.88 kB / 1.21 GB, free: 1.938 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.9972, allocations: 142.1 kB / 1.21 GB, free: 1.809 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.9972, allocations: 61.42 kB / 1.21 GB, free: 1.762 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.9973, allocations: 51.7 kB / 1.21 GB, free: 1.727 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.658e-05/0.9973, allocations: 324.7 kB / 1.211 GB, free: 1.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.9974, allocations: 36.38 kB / 1.211 GB, free: 1.398 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.9975, allocations: 145.4 kB / 1.211 GB, free: 1.254 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.9977, allocations: 196.6 kB / 1.211 GB, free: 1.078 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9977, allocations: 1.531 kB / 1.211 GB, free: 1.078 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002951/0.998, allocations: 216.4 kB / 1.211 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.998, allocations: 5.719 kB / 1.211 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.998, allocations: 5.625 kB / 1.211 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.998, allocations: 5.5 kB / 1.211 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.9982, allocations: 59.72 kB / 1.211 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.9982, allocations: 12.62 kB / 1.211 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.9983, allocations: 23.78 kB / 1.211 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.9983, allocations: 16.66 kB / 1.211 GB, free: 0.9414 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 7.972e-05/0.9984, allocations: 140.7 kB / 1.211 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.9985, allocations: 11.08 kB / 1.211 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.9987, allocations: 152.6 kB / 1.212 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.9988, allocations: 3.297 kB / 1.212 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9988, allocations: 4.844 kB / 1.212 GB, free: 0.7109 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.9988, allocations: 4.688 kB / 1.212 GB, free: 0.707 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.9989, allocations: 151.2 kB / 1.212 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.9989, allocations: 5.125 kB / 1.212 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.9991, allocations: 30.61 kB / 1.212 GB, free: 0.5547 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9991, allocations: 1.188 kB / 1.212 GB, free: 0.5547 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.9991, allocations: 6.781 kB / 1.212 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.9991, allocations: 1.406 kB / 1.212 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9991, allocations: 0 / 1.212 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.9993, allocations: 226.4 kB / 1.212 GB, free: 392 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.9994, allocations: 31.41 kB / 1.212 GB, free: 380 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.9994, allocations: 0 / 1.212 GB, free: 380 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.9996, allocations: 19.91 kB / 1.212 GB, free: 372 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.9996, allocations: 16.78 kB / 1.212 GB, free: 364 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.9996, allocations: 16.94 kB / 1.212 GB, free: 356 kB / 1.076 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.9997, allocations: 109.4 kB / 1.212 GB, free: 272 kB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9997, allocations: 0 / 1.212 GB, free: 272 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004084/1, allocations: 81.3 kB / 1.212 GB, free: 252 kB / 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.000267/1, allocations: 184.6 kB / 1.212 GB, free: 132 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002308/1.001, allocations: 108.4 kB / 1.212 GB, free: 104 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.001, allocations: 0 / 1.212 GB, free: 104 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.389e-05/1.001, allocations: 46.95 kB / 1.213 GB, free: 88 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/1.001, allocations: 51.2 kB / 1.213 GB, free: 64 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/1.002, allocations: 337.8 kB / 1.213 GB, free: 15.85 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/1.002, allocations: 109.5 kB / 1.213 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001567/1.002, allocations: 51.72 kB / 1.213 GB, free: 15.75 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/1.002, allocations: 26.25 kB / 1.213 GB, free: 15.73 MB / 1.092 GB Notification: Performance of SimCode: time 3.61e-07/1.002, allocations: 0 / 1.213 GB, free: 15.73 MB / 1.092 GB Notification: Performance of Templates: time 0.008098/1.01, allocations: 3.334 MB / 1.216 GB, free: 15.23 MB / 1.092 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.295707751065493]