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.001257/0.001257, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001418/0.001418, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.349/1.349, allocations: 230.6 MB / 256 MB, free: 7.961 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 2.937/2.937, allocations: 0.4899 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] 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.002001/0.002001, allocations: 67.09 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3499, allocations: 176.1 MB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01829/0.3682, allocations: 13.21 MB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003154/0.3713, allocations: 2.679 MB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.726e-05/0.3714, allocations: 4 kB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.3717, allocations: 51.61 kB / 1.342 GB, free: 1.402 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.372, allocations: 103.3 kB / 1.342 GB, free: 1.301 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.3733, allocations: 0.5245 MB / 1.343 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.3736, allocations: 235.9 kB / 1.343 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.3736, allocations: 9.734 kB / 1.343 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008062/0.3817, allocations: 3.596 MB / 1.346 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.3819, allocations: 87.66 kB / 1.346 GB, free: 12.83 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.3819, allocations: 12 kB / 1.346 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.3844, allocations: 1.114 MB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.3845, allocations: 39.83 kB / 1.348 GB, free: 11.67 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.3846, allocations: 83.66 kB / 1.348 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006448/0.3852, allocations: 370.8 kB / 1.348 GB, free: 11.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3852, allocations: 11.92 kB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3852, allocations: 0 / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3852, allocations: 0 / 1.348 GB, free: 11.21 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.0007412/0.386, allocations: 445.4 kB / 1.348 GB, free: 10.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.386, allocations: 12.03 kB / 1.348 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.3862, allocations: 24.83 kB / 1.348 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.3865, allocations: 158.3 kB / 1.349 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3865, allocations: 12.7 kB / 1.349 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.3865, allocations: 20.38 kB / 1.349 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.3869, allocations: 256.1 kB / 1.349 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3869, allocations: 3.938 kB / 1.349 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.3869, allocations: 11.98 kB / 1.349 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.387, allocations: 4 kB / 1.349 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.3875, allocations: 439.5 kB / 1.349 GB, free: 9.785 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3886, allocations: 0.9441 MB / 1.35 GB, free: 8.758 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.3889, allocations: 148.1 kB / 1.35 GB, free: 8.605 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.389, allocations: 60.81 kB / 1.35 GB, free: 8.543 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007186/0.3897, allocations: 467.8 kB / 1.351 GB, free: 8.066 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3897, allocations: 34.56 kB / 1.351 GB, free: 8.023 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.3897, allocations: 4 kB / 1.351 GB, free: 8.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0003386/0.39, allocations: 151.6 kB / 1.351 GB, free: 7.867 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.3901, allocations: 59.28 kB / 1.351 GB, free: 7.797 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3902, allocations: 175.9 kB / 1.351 GB, free: 7.613 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3903, allocations: 25.7 kB / 1.351 GB, free: 7.582 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.3904, allocations: 144.1 kB / 1.351 GB, free: 7.438 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.3904, allocations: 55.53 kB / 1.351 GB, free: 7.383 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.3905, allocations: 53.66 kB / 1.352 GB, free: 7.324 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3906, allocations: 322.8 kB / 1.352 GB, free: 7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.266e-05/0.3907, allocations: 39.97 kB / 1.352 GB, free: 6.961 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3908, allocations: 145.7 kB / 1.352 GB, free: 6.77 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.3911, allocations: 199.4 kB / 1.352 GB, free: 6.527 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3911, allocations: 0 / 1.352 GB, free: 6.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003177/0.3914, allocations: 213.2 kB / 1.352 GB, free: 6.312 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3914, allocations: 10.19 kB / 1.352 GB, free: 6.305 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.3914, allocations: 11.98 kB / 1.352 GB, free: 6.293 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3914, allocations: 4 kB / 1.352 GB, free: 6.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3916, allocations: 55.84 kB / 1.353 GB, free: 6.234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.3916, allocations: 11.94 kB / 1.353 GB, free: 6.223 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3917, allocations: 27.78 kB / 1.353 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.3917, allocations: 12 kB / 1.353 GB, free: 6.184 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.0001107/0.3918, allocations: 133.7 kB / 1.353 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.3919, allocations: 19.84 kB / 1.353 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.3922, allocations: 158.9 kB / 1.353 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.3922, allocations: 7.938 kB / 1.353 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3922, allocations: 0 / 1.353 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3922, allocations: 0 / 1.353 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.3924, allocations: 184.6 kB / 1.353 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3924, allocations: 4 kB / 1.353 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-05/0.3925, allocations: 27.94 kB / 1.353 GB, free: 5.602 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3925, allocations: 0 / 1.353 GB, free: 5.602 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.3925, allocations: 11.98 kB / 1.353 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.3925, allocations: 3.938 kB / 1.353 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3925, allocations: 0 / 1.353 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.3928, allocations: 222 kB / 1.353 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.3928, allocations: 43.8 kB / 1.353 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3929, allocations: 3.938 kB / 1.353 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.3931, allocations: 19.92 kB / 1.353 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.3931, allocations: 7.984 kB / 1.353 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.3931, allocations: 12 kB / 1.353 GB, free: 5.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.072e-05/0.3932, allocations: 123.9 kB / 1.353 GB, free: 5.148 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3932, allocations: 4 kB / 1.353 GB, free: 5.145 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003614/0.3935, allocations: 71.88 kB / 1.354 GB, free: 5.074 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.0003092/0.3939, allocations: 194.9 kB / 1.354 GB, free: 4.871 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3941, allocations: 119.7 kB / 1.354 GB, free: 4.754 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3941, allocations: 0 / 1.354 GB, free: 4.754 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.3942, allocations: 39.92 kB / 1.354 GB, free: 4.715 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.3946, allocations: 58.55 kB / 1.354 GB, free: 4.66 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/0.3952, allocations: 350.5 kB / 1.354 GB, free: 4.293 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3956, allocations: 0.7128 MB / 1.355 GB, free: 3.555 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.3957, allocations: 49.73 kB / 1.355 GB, free: 3.508 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.3957, allocations: 23.44 kB / 1.355 GB, free: 3.484 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3957, allocations: 4 kB / 1.355 GB, free: 3.48 MB / 1.045 GB Notification: Performance of Templates: time 0.007646/0.4034, allocations: 3.811 MB / 1.359 GB, free: 15.71 MB / 1.061 GB " [Timeout remaining time 300] 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: 8.35888284491375]