Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001819/0.001819, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002144/0.002144, allocations: 200.8 kB / 22.17 MB, free: 5.211 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.483/1.483, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.821/2.821, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 68.12 kB / 1.109 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.946/0.948, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01871/0.9667, allocations: 13.07 MB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003666/0.9704, allocations: 2.699 MB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.9705, allocations: 3.938 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.9709, allocations: 47.67 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.9712, allocations: 95.36 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.9726, allocations: 0.517 MB / 1.29 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.973, allocations: 236 kB / 1.29 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.491e-05/0.973, allocations: 5.562 kB / 1.29 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009503/0.9825, allocations: 3.59 MB / 1.294 GB, free: 56 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.9828, allocations: 87.66 kB / 1.294 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.9828, allocations: 8 kB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.9858, allocations: 1.096 MB / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.9859, allocations: 35.89 kB / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.986, allocations: 79.66 kB / 1.295 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008448/0.9869, allocations: 370.8 kB / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.9869, allocations: 0 / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9869, allocations: 0 / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.9869, allocations: 0 / 1.296 GB, free: 14.39 MB / 0.9981 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.0008586/0.9877, allocations: 0.5064 MB / 1.296 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.9878, allocations: 12.03 kB / 1.296 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.988, allocations: 20.84 kB / 1.296 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.9883, allocations: 228.1 kB / 1.296 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.9883, allocations: 12.7 kB / 1.296 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.9884, allocations: 16.38 kB / 1.296 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.9888, allocations: 244.2 kB / 1.297 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.9888, allocations: 4 kB / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.9888, allocations: 12 kB / 1.297 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.9889, allocations: 4 kB / 1.297 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000539/0.9894, allocations: 427.5 kB / 1.297 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.9907, allocations: 0.9607 MB / 1.298 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.991, allocations: 151 kB / 1.298 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.9911, allocations: 52.89 kB / 1.298 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001792/0.9929, allocations: 1.84 MB / 1.3 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.9929, allocations: 38.55 kB / 1.3 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.993, allocations: 0 / 1.3 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003844/0.9933, allocations: 145.5 kB / 1.3 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.9934, allocations: 55.34 kB / 1.3 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.9936, allocations: 167.3 kB / 1.3 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.9936, allocations: 37.64 kB / 1.3 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.9937, allocations: 148.1 kB / 1.3 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.9938, allocations: 59.5 kB / 1.3 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.751e-05/0.9939, allocations: 53.66 kB / 1.301 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.9941, allocations: 322.8 kB / 1.301 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.9941, allocations: 35.98 kB / 1.301 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.9943, allocations: 145.7 kB / 1.301 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.9946, allocations: 195.6 kB / 1.301 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9946, allocations: 0 / 1.301 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003569/0.9949, allocations: 215.5 kB / 1.301 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.9949, allocations: 8 kB / 1.301 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.995, allocations: 11.92 kB / 1.301 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.995, allocations: 7.984 kB / 1.301 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.9952, allocations: 51.86 kB / 1.301 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.9952, allocations: 7.938 kB / 1.301 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.9953, allocations: 35.73 kB / 1.302 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.9953, allocations: 12.34 kB / 1.302 GB, free: 7.477 MB / 0.9981 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.0001312/0.9955, allocations: 136.4 kB / 1.302 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.9955, allocations: 15.95 kB / 1.302 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.9958, allocations: 154.9 kB / 1.302 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.9959, allocations: 7.938 kB / 1.302 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.9959, allocations: 0 / 1.302 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.9959, allocations: 3.984 kB / 1.302 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.9962, allocations: 217.5 kB / 1.302 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9962, allocations: 0 / 1.302 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.253e-05/0.9963, allocations: 27.98 kB / 1.302 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.9963, allocations: 4 kB / 1.302 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.9963, allocations: 0 / 1.302 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.9963, allocations: 7.938 kB / 1.302 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.9963, allocations: 0 / 1.302 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.9966, allocations: 223.4 kB / 1.302 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.9967, allocations: 105 kB / 1.302 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.9967, allocations: 8 kB / 1.302 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.9969, allocations: 27.92 kB / 1.302 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.997, allocations: 7.984 kB / 1.302 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.997, allocations: 15.98 kB / 1.302 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001106/0.9971, allocations: 112 kB / 1.303 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9971, allocations: 3.938 kB / 1.303 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004183/0.9975, allocations: 79.88 kB / 1.303 GB, free: 6.238 MB / 0.9981 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.00038/0.9979, allocations: 188.8 kB / 1.303 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.9982, allocations: 120.5 kB / 1.303 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.9982, allocations: 4 kB / 1.303 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.956e-05/0.9983, allocations: 42.58 kB / 1.303 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.9987, allocations: 51.89 kB / 1.303 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000793/0.9995, allocations: 358.5 kB / 1.303 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/1, allocations: 0.705 MB / 1.304 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001656/1, allocations: 53.73 kB / 1.304 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/1, allocations: 19.44 kB / 1.304 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/1, allocations: 0 / 1.304 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of Templates: time 0.008655/1.009, allocations: 3.72 MB / 1.308 GB, free: 0.9766 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.214203243143857]