Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002657/0.002657, allocations: 188.8 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 71.88 kB / 1.062 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9442/0.9465, allocations: 160.8 MB / 1.219 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02022/0.9667, allocations: 13.09 MB / 1.231 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003394/0.9701, allocations: 2.685 MB / 1.234 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.9702, allocations: 1.375 kB / 1.234 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.9705, allocations: 47.91 kB / 1.234 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.9709, allocations: 99.44 kB / 1.234 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.9722, allocations: 0.5231 MB / 1.235 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.9725, allocations: 239.6 kB / 1.235 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.9726, allocations: 7.594 kB / 1.235 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01003/0.9826, allocations: 3.59 MB / 1.238 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.9828, allocations: 95.59 kB / 1.238 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.9829, allocations: 8 kB / 1.238 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.9859, allocations: 1.099 MB / 1.239 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.986, allocations: 39.83 kB / 1.24 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.9861, allocations: 87.64 kB / 1.24 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008241/0.9869, allocations: 362.9 kB / 1.24 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.9869, allocations: 0 / 1.24 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9869, allocations: 0 / 1.24 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.9869, allocations: 0 / 1.24 GB, free: 1.238 MB / 0.9356 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.0008992/0.9878, allocations: 0.5103 MB / 1.24 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.9879, allocations: 8.031 kB / 1.24 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.9881, allocations: 28.77 kB / 1.24 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.9884, allocations: 220.1 kB / 1.241 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.9884, allocations: 8.703 kB / 1.241 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.9884, allocations: 16.38 kB / 1.241 GB, free: 376 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.9889, allocations: 252.3 kB / 1.241 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.9889, allocations: 4 kB / 1.241 GB, free: 100 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.9889, allocations: 4 kB / 1.241 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.9889, allocations: 15.94 kB / 1.241 GB, free: 80 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/0.9895, allocations: 443.5 kB / 1.241 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.9908, allocations: 0.9683 MB / 1.242 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.9911, allocations: 142.5 kB / 1.242 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.9912, allocations: 64.81 kB / 1.243 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/0.993, allocations: 1.833 MB / 1.244 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.993, allocations: 38.56 kB / 1.244 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 3.386e-06/0.993, allocations: 3.984 kB / 1.244 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003667/0.9934, allocations: 142.9 kB / 1.245 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.9935, allocations: 59.34 kB / 1.245 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.9936, allocations: 172.6 kB / 1.245 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.9936, allocations: 33.7 kB / 1.245 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.9938, allocations: 148 kB / 1.245 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.9938, allocations: 55.47 kB / 1.245 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.9939, allocations: 53.64 kB / 1.245 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.994, allocations: 326.8 kB / 1.245 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.9941, allocations: 31.97 kB / 1.245 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.9943, allocations: 141.7 kB / 1.245 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.9946, allocations: 204.3 kB / 1.246 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9946, allocations: 0 / 1.246 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003885/0.995, allocations: 217.2 kB / 1.246 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.995, allocations: 4 kB / 1.246 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.995, allocations: 4 kB / 1.246 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.995, allocations: 8 kB / 1.246 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.9952, allocations: 55.86 kB / 1.246 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.9952, allocations: 8.453 kB / 1.246 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.9953, allocations: 35.72 kB / 1.246 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.9953, allocations: 12 kB / 1.246 GB, free: 10.3 MB / 0.9512 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.0001525/0.9955, allocations: 129.8 kB / 1.246 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.9955, allocations: 15.91 kB / 1.246 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.9959, allocations: 162.8 kB / 1.246 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.9959, allocations: 7.875 kB / 1.246 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9959, allocations: 4 kB / 1.246 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.9959, allocations: 0 / 1.246 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.9962, allocations: 213.5 kB / 1.247 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.9962, allocations: 4 kB / 1.247 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.823e-05/0.9963, allocations: 23.94 kB / 1.247 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.9963, allocations: 0 / 1.247 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.9963, allocations: 11.97 kB / 1.247 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.9963, allocations: 7.938 kB / 1.247 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.9963, allocations: 0 / 1.247 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.9966, allocations: 217.9 kB / 1.247 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.9967, allocations: 109 kB / 1.247 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.9967, allocations: 12 kB / 1.247 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.9969, allocations: 15.92 kB / 1.247 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.9969, allocations: 7.984 kB / 1.247 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.997, allocations: 15.98 kB / 1.247 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001177/0.9971, allocations: 123.9 kB / 1.247 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9971, allocations: 0 / 1.247 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004246/0.9975, allocations: 75.88 kB / 1.247 GB, free: 9.066 MB / 0.9512 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.0003463/0.9979, allocations: 190.9 kB / 1.247 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.9981, allocations: 112.6 kB / 1.247 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9981, allocations: 4.062 kB / 1.247 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.9982, allocations: 43.92 kB / 1.247 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.9986, allocations: 43.95 kB / 1.248 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.9994, allocations: 350.4 kB / 1.248 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.9997, allocations: 0.7206 MB / 1.249 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.9999, allocations: 49.67 kB / 1.249 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.9999, allocations: 31.44 kB / 1.249 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.9999, allocations: 0 / 1.249 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of Templates: time 0.009109/1.009, allocations: 3.774 MB / 1.252 GB, free: 3.738 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.126905615441501]