Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001749/0.001749, allocations: 103 kB / 16.45 MB, free: 6.449 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.00187/0.00187, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.526/1.526, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.353/3.353, allocations: 0.4899 GB / 0.7915 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.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_12_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_12_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.002052/0.002052, allocations: 62.62 kB / 1.149 GB, free: 26.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.448, allocations: 176.1 MB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01918/0.4672, allocations: 13.15 MB / 1.334 GB, free: 5.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003438/0.4706, allocations: 2.675 MB / 1.337 GB, free: 2.906 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.4708, allocations: 3.938 kB / 1.337 GB, free: 2.902 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.4711, allocations: 39.75 kB / 1.337 GB, free: 2.863 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.4714, allocations: 103.3 kB / 1.337 GB, free: 2.762 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.473, allocations: 0.5182 MB / 1.337 GB, free: 2.246 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.4734, allocations: 227.9 kB / 1.338 GB, free: 2.023 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.605e-05/0.4734, allocations: 13.55 kB / 1.338 GB, free: 2.008 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008925/0.4824, allocations: 3.599 MB / 1.341 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.4826, allocations: 95.66 kB / 1.341 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.4826, allocations: 11.94 kB / 1.341 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003333/0.486, allocations: 1.097 MB / 1.342 GB, free: 13.19 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.4861, allocations: 39.83 kB / 1.342 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.4862, allocations: 79.64 kB / 1.342 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.4874, allocations: 378.7 kB / 1.343 GB, free: 12.7 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4874, allocations: 0 / 1.343 GB, free: 12.7 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4874, allocations: 0 / 1.343 GB, free: 12.7 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.4874, allocations: 7.938 kB / 1.343 GB, free: 12.69 MB / 1.045 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.001056/0.4885, allocations: 0.5141 MB / 1.343 GB, free: 12.13 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.4885, allocations: 15.98 kB / 1.343 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.4887, allocations: 28.8 kB / 1.343 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.4892, allocations: 216.2 kB / 1.344 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.4892, allocations: 8.703 kB / 1.344 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.4892, allocations: 16.38 kB / 1.344 GB, free: 11.81 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.4897, allocations: 256 kB / 1.344 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4897, allocations: 8 kB / 1.344 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.4897, allocations: 4 kB / 1.344 GB, free: 11.53 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/0.4897, allocations: 8 kB / 1.344 GB, free: 11.52 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/0.4903, allocations: 423.5 kB / 1.344 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.4918, allocations: 0.9684 MB / 1.345 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.4921, allocations: 147.7 kB / 1.345 GB, free: 9.898 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.4922, allocations: 52.89 kB / 1.345 GB, free: 9.844 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00172/0.4939, allocations: 1.84 MB / 1.347 GB, free: 7.645 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.494, allocations: 34.56 kB / 1.347 GB, free: 7.602 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.494, allocations: 0 / 1.347 GB, free: 7.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0004131/0.4944, allocations: 148.4 kB / 1.347 GB, free: 7.453 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.4945, allocations: 59.33 kB / 1.347 GB, free: 7.383 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.4947, allocations: 175.9 kB / 1.348 GB, free: 7.199 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.4947, allocations: 25.7 kB / 1.348 GB, free: 7.168 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.4948, allocations: 144.2 kB / 1.348 GB, free: 7.023 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.4949, allocations: 63.47 kB / 1.348 GB, free: 6.961 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.225e-05/0.495, allocations: 49.7 kB / 1.348 GB, free: 6.906 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.4951, allocations: 322.8 kB / 1.348 GB, free: 6.582 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-05/0.4952, allocations: 35.97 kB / 1.348 GB, free: 6.547 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.4954, allocations: 145.7 kB / 1.348 GB, free: 6.355 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.4957, allocations: 197.5 kB / 1.349 GB, free: 6.113 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.4957, allocations: 4 kB / 1.349 GB, free: 6.109 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003735/0.496, allocations: 213.3 kB / 1.349 GB, free: 5.895 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4961, allocations: 8 kB / 1.349 GB, free: 5.887 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.4961, allocations: 4 kB / 1.349 GB, free: 5.883 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.4961, allocations: 4 kB / 1.349 GB, free: 5.879 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.4963, allocations: 63.8 kB / 1.349 GB, free: 5.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.4963, allocations: 8 kB / 1.349 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.4964, allocations: 31.77 kB / 1.349 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.4964, allocations: 8.375 kB / 1.349 GB, free: 5.77 MB / 1.045 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.0001236/0.4966, allocations: 137.7 kB / 1.349 GB, free: 5.625 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.4966, allocations: 19.84 kB / 1.349 GB, free: 5.605 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.497, allocations: 165 kB / 1.349 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.497, allocations: 7.938 kB / 1.349 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.497, allocations: 0 / 1.349 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.497, allocations: 3.984 kB / 1.349 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.4973, allocations: 213.6 kB / 1.349 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4973, allocations: 0 / 1.349 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.262e-05/0.4974, allocations: 23.98 kB / 1.349 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4974, allocations: 4 kB / 1.349 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.4974, allocations: 8 kB / 1.349 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4974, allocations: 3.938 kB / 1.349 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4974, allocations: 3.984 kB / 1.349 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.4977, allocations: 223.4 kB / 1.35 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.4979, allocations: 117 kB / 1.35 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.4979, allocations: 0 / 1.35 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.4981, allocations: 23.92 kB / 1.35 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.4982, allocations: 4 kB / 1.35 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.4982, allocations: 15.98 kB / 1.35 GB, free: 4.715 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001894/0.4984, allocations: 120 kB / 1.35 GB, free: 4.598 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4984, allocations: 0 / 1.35 GB, free: 4.598 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000427/0.4988, allocations: 79.8 kB / 1.35 GB, free: 4.52 MB / 1.045 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.0003944/0.4992, allocations: 183 kB / 1.35 GB, free: 4.328 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.4995, allocations: 115.2 kB / 1.35 GB, free: 4.219 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.4995, allocations: 4 kB / 1.35 GB, free: 4.215 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.4996, allocations: 47.98 kB / 1.35 GB, free: 4.168 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.5, allocations: 59.81 kB / 1.35 GB, free: 4.109 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008455/0.5009, allocations: 338.7 kB / 1.351 GB, free: 3.754 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.5013, allocations: 0.7167 MB / 1.351 GB, free: 3.012 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001687/0.5015, allocations: 49.75 kB / 1.351 GB, free: 2.961 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.5015, allocations: 23.44 kB / 1.351 GB, free: 2.938 MB / 1.045 GB Notification: Performance of SimCode: time 7.21e-07/0.5015, allocations: 0 / 1.351 GB, free: 2.938 MB / 1.045 GB Notification: Performance of Templates: time 0.00871/0.5102, allocations: 3.722 MB / 1.355 GB, free: 15.26 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.546092266682535]