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.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.001424/0.001424, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002113/0.002113, allocations: 192.6 kB / 22.11 MB, free: 5.16 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.508/1.508, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.353/3.353, allocations: 495.8 MB / 0.783 GB, free: 33.41 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 64.67 kB / 1.137 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.468, allocations: 173.6 MB / 1.307 GB, free: 1.773 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02031/0.4883, allocations: 13.01 MB / 1.319 GB, free: 4.703 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.003522/0.4919, allocations: 2.66 MB / 1.322 GB, free: 2.035 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.492, allocations: 0 / 1.322 GB, free: 2.035 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.4923, allocations: 51.67 kB / 1.322 GB, free: 1.984 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.4927, allocations: 103.3 kB / 1.322 GB, free: 1.883 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.4943, allocations: 0.5132 MB / 1.323 GB, free: 1.371 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003816/0.4947, allocations: 235.9 kB / 1.323 GB, free: 1.141 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.218e-05/0.4947, allocations: 13.73 kB / 1.323 GB, free: 1.121 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.009373/0.5041, allocations: 3.586 MB / 1.326 GB, free: 13.52 MB / 1.029 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.5044, allocations: 95.59 kB / 1.327 GB, free: 13.42 MB / 1.029 GB
Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.5044, allocations: 8 kB / 1.327 GB, free: 13.41 MB / 1.029 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.5076, allocations: 1.017 MB / 1.328 GB, free: 12.4 MB / 1.029 GB
Notification: Performance of NFScalarize.scalarize: time 8.298e-05/0.5077, allocations: 35.83 kB / 1.328 GB, free: 12.37 MB / 1.029 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.5078, allocations: 83.64 kB / 1.328 GB, free: 12.29 MB / 1.029 GB
Notification: Performance of NFConvertDAE.convert: time 0.001003/0.5088, allocations: 358.8 kB / 1.328 GB, free: 11.93 MB / 1.029 GB
Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5088, allocations: 0 / 1.328 GB, free: 11.93 MB / 1.029 GB
Notification: Performance of FrontEnd: time 1.192e-06/0.5088, allocations: 0 / 1.328 GB, free: 11.93 MB / 1.029 GB
Notification: Performance of Transformations before backend: time 7.685e-06/0.5088, allocations: 0 / 1.328 GB, free: 11.93 MB / 1.029 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.0008905/0.5097, allocations: 433.5 kB / 1.328 GB, free: 11.48 MB / 1.029 GB
Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5097, allocations: 11.97 kB / 1.328 GB, free: 11.47 MB / 1.029 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.51, allocations: 24.84 kB / 1.328 GB, free: 11.45 MB / 1.029 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.5104, allocations: 170.2 kB / 1.329 GB, free: 11.25 MB / 1.029 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.5104, allocations: 8.703 kB / 1.329 GB, free: 11.25 MB / 1.029 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.5104, allocations: 16.38 kB / 1.329 GB, free: 11.23 MB / 1.029 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.5109, allocations: 260.2 kB / 1.329 GB, free: 10.96 MB / 1.029 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.5109, allocations: 0 / 1.329 GB, free: 10.96 MB / 1.029 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.5109, allocations: 4 kB / 1.329 GB, free: 10.95 MB / 1.029 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.511, allocations: 11.98 kB / 1.329 GB, free: 10.94 MB / 1.029 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005867/0.5115, allocations: 440.4 kB / 1.329 GB, free: 10.51 MB / 1.029 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.513, allocations: 0.9324 MB / 1.33 GB, free: 9.496 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.5133, allocations: 143 kB / 1.33 GB, free: 9.348 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.5135, allocations: 60.88 kB / 1.33 GB, free: 9.285 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008768/0.5143, allocations: 475.7 kB / 1.331 GB, free: 8.801 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.5144, allocations: 34.56 kB / 1.331 GB, free: 8.758 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.5144, allocations: 3.938 kB / 1.331 GB, free: 8.754 MB / 1.029 GB
Notification: Performance of matching and sorting (n=15): time 0.0004215/0.5148, allocations: 146.8 kB / 1.331 GB, free: 8.605 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.5149, allocations: 59.34 kB / 1.331 GB, free: 8.535 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.5151, allocations: 168.7 kB / 1.331 GB, free: 8.355 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.5151, allocations: 29.7 kB / 1.331 GB, free: 8.32 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.5152, allocations: 152 kB / 1.331 GB, free: 8.168 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.5153, allocations: 51.53 kB / 1.332 GB, free: 8.117 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.5154, allocations: 53.66 kB / 1.332 GB, free: 8.059 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001794/0.5155, allocations: 322.8 kB / 1.332 GB, free: 7.734 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.949e-05/0.5156, allocations: 39.97 kB / 1.332 GB, free: 7.695 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.5158, allocations: 149.7 kB / 1.332 GB, free: 7.5 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.5161, allocations: 196.1 kB / 1.332 GB, free: 7.262 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.5161, allocations: 0 / 1.332 GB, free: 7.262 MB / 1.029 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003899/0.5165, allocations: 217.2 kB / 1.332 GB, free: 7.043 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.5165, allocations: 8 kB / 1.332 GB, free: 7.035 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5165, allocations: 7.938 kB / 1.332 GB, free: 7.027 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.5165, allocations: 4 kB / 1.332 GB, free: 7.023 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.5167, allocations: 56.33 kB / 1.333 GB, free: 6.969 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.5167, allocations: 11.98 kB / 1.333 GB, free: 6.957 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.5169, allocations: 31.73 kB / 1.333 GB, free: 6.926 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.5169, allocations: 16 kB / 1.333 GB, free: 6.91 MB / 1.029 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.0001333/0.517, allocations: 125.8 kB / 1.333 GB, free: 6.777 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.5171, allocations: 15.95 kB / 1.333 GB, free: 6.762 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.5174, allocations: 161.6 kB / 1.333 GB, free: 6.602 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.5174, allocations: 11.92 kB / 1.333 GB, free: 6.59 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.5174, allocations: 0 / 1.333 GB, free: 6.59 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5175, allocations: 0 / 1.333 GB, free: 6.59 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.5178, allocations: 196.5 kB / 1.333 GB, free: 6.355 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5178, allocations: 0 / 1.333 GB, free: 6.355 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/0.5179, allocations: 23.98 kB / 1.333 GB, free: 6.332 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5179, allocations: 0 / 1.333 GB, free: 6.332 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.5179, allocations: 4 kB / 1.333 GB, free: 6.328 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5179, allocations: 7.938 kB / 1.333 GB, free: 6.32 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.5179, allocations: 3.984 kB / 1.333 GB, free: 6.316 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.5182, allocations: 207.4 kB / 1.333 GB, free: 6.098 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/0.5183, allocations: 47.8 kB / 1.333 GB, free: 6.051 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.5183, allocations: 0 / 1.333 GB, free: 6.051 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.5185, allocations: 23.86 kB / 1.333 GB, free: 6.027 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.5186, allocations: 11.97 kB / 1.333 GB, free: 6.016 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.5186, allocations: 12 kB / 1.333 GB, free: 6.004 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0001047/0.5187, allocations: 120.9 kB / 1.334 GB, free: 5.887 MB / 1.029 GB
Notification: Performance of sort global known variables: time 7e-08/0.5187, allocations: 0 / 1.334 GB, free: 5.887 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004573/0.5192, allocations: 83.84 kB / 1.334 GB, free: 5.805 MB / 1.029 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.0004032/0.5196, allocations: 179.8 kB / 1.334 GB, free: 5.621 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0003179/0.5199, allocations: 116.4 kB / 1.334 GB, free: 5.508 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5199, allocations: 0 / 1.334 GB, free: 5.508 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.52, allocations: 46.31 kB / 1.334 GB, free: 5.465 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.5204, allocations: 53.03 kB / 1.334 GB, free: 5.414 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008987/0.5213, allocations: 356.3 kB / 1.334 GB, free: 5.035 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.5217, allocations: 0.7206 MB / 1.335 GB, free: 4.289 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001684/0.5219, allocations: 45.75 kB / 1.335 GB, free: 4.242 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.522, allocations: 31.42 kB / 1.335 GB, free: 4.211 MB / 1.029 GB
Notification: Performance of SimCode: time 6.71e-07/0.522, allocations: 3.938 kB / 1.335 GB, free: 4.207 MB / 1.029 GB
Notification: Performance of Templates: time 0.009242/0.5312, allocations: 3.772 MB / 1.339 GB, free: 488 kB / 1.029 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.96928436215967]