Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.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.001679/0.001679, allocations: 104.5 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.00215/0.00215, allocations: 190 kB / 22.11 MB, free: 5.152 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.523/1.523, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.278/3.278, allocations: 495.8 MB / 0.783 GB, free: 33.68 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.Examples.WaterProperties,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.Examples.WaterProperties")
translateModel(Buildings.Media.Examples.WaterProperties,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.Examples.WaterProperties") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 70.17 kB / 1.137 GB, free: 33.76 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.4834, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00749/0.4909, allocations: 4.753 MB / 1.311 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.003437/0.4944, allocations: 2.683 MB / 1.314 GB, free: 10.33 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.4945, allocations: 3.938 kB / 1.314 GB, free: 10.33 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.4949, allocations: 51.67 kB / 1.314 GB, free: 10.28 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.4952, allocations: 95.36 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.4967, allocations: 0.5177 MB / 1.315 GB, free: 9.668 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003085/0.497, allocations: 227.9 kB / 1.315 GB, free: 9.445 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.192e-05/0.4971, allocations: 13.73 kB / 1.315 GB, free: 9.434 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.4973, allocations: 119.6 kB / 1.315 GB, free: 9.316 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.4975, allocations: 103.6 kB / 1.315 GB, free: 9.215 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.4975, allocations: 8 kB / 1.315 GB, free: 9.207 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006701/0.4982, allocations: 299.4 kB / 1.315 GB, free: 8.914 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.4983, allocations: 35.91 kB / 1.315 GB, free: 8.879 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.4984, allocations: 87.58 kB / 1.316 GB, free: 8.793 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.499, allocations: 338.9 kB / 1.316 GB, free: 8.461 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.499, allocations: 3.984 kB / 1.316 GB, free: 8.457 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.803e-06/0.499, allocations: 0 / 1.316 GB, free: 8.457 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.117e-06/0.499, allocations: 4 kB / 1.316 GB, free: 8.453 MB / 1.014 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.0008482/0.4998, allocations: 437.5 kB / 1.316 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4999, allocations: 12.86 kB / 1.316 GB, free: 7.98 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.5001, allocations: 24.84 kB / 1.316 GB, free: 7.957 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.5004, allocations: 158.2 kB / 1.316 GB, free: 7.777 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.5004, allocations: 16.64 kB / 1.316 GB, free: 7.762 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.5004, allocations: 12.38 kB / 1.317 GB, free: 7.75 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.5009, allocations: 264.2 kB / 1.317 GB, free: 7.473 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5009, allocations: 0 / 1.317 GB, free: 7.473 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.5009, allocations: 8 kB / 1.317 GB, free: 7.465 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.5009, allocations: 7.938 kB / 1.317 GB, free: 7.457 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.5016, allocations: 443.5 kB / 1.317 GB, free: 7.023 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.503, allocations: 0.9169 MB / 1.318 GB, free: 6.023 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.5033, allocations: 150.7 kB / 1.318 GB, free: 5.867 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.5034, allocations: 60.88 kB / 1.318 GB, free: 5.805 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008273/0.5042, allocations: 467.7 kB / 1.319 GB, free: 5.328 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.5043, allocations: 34.56 kB / 1.319 GB, free: 5.285 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.5043, allocations: 0 / 1.319 GB, free: 5.285 MB / 1.014 GB
Notification: Performance of matching and sorting (n=15): time 0.0003764/0.5047, allocations: 142.3 kB / 1.319 GB, free: 5.141 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.5047, allocations: 63.28 kB / 1.319 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.5049, allocations: 169.6 kB / 1.319 GB, free: 4.891 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.5049, allocations: 33.64 kB / 1.319 GB, free: 4.852 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.505, allocations: 144 kB / 1.319 GB, free: 4.707 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.5051, allocations: 55.53 kB / 1.319 GB, free: 4.652 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/0.5052, allocations: 61.64 kB / 1.319 GB, free: 4.586 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002627/0.5054, allocations: 326.8 kB / 1.32 GB, free: 4.258 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.5055, allocations: 39.91 kB / 1.32 GB, free: 4.219 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.5057, allocations: 137.7 kB / 1.32 GB, free: 4.035 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.5059, allocations: 195.6 kB / 1.32 GB, free: 3.797 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.5059, allocations: 7.938 kB / 1.32 GB, free: 3.789 MB / 1.014 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003503/0.5063, allocations: 209.2 kB / 1.32 GB, free: 3.578 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.5063, allocations: 8 kB / 1.32 GB, free: 3.57 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5063, allocations: 4 kB / 1.32 GB, free: 3.566 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.5064, allocations: 4.469 kB / 1.32 GB, free: 3.562 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.5066, allocations: 63.84 kB / 1.32 GB, free: 3.5 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5066, allocations: 12 kB / 1.32 GB, free: 3.488 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.5067, allocations: 31.73 kB / 1.32 GB, free: 3.457 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.5067, allocations: 12 kB / 1.32 GB, free: 3.445 MB / 1.014 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.0001371/0.5068, allocations: 133.7 kB / 1.321 GB, free: 3.305 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.5069, allocations: 11.95 kB / 1.321 GB, free: 3.293 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.5072, allocations: 157.8 kB / 1.321 GB, free: 3.133 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.5072, allocations: 7.938 kB / 1.321 GB, free: 3.125 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.5072, allocations: 0 / 1.321 GB, free: 3.125 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.5072, allocations: 4 kB / 1.321 GB, free: 3.121 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.5075, allocations: 192.6 kB / 1.321 GB, free: 2.891 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5075, allocations: 0 / 1.321 GB, free: 2.891 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.895e-05/0.5076, allocations: 23.94 kB / 1.321 GB, free: 2.867 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5076, allocations: 4 kB / 1.321 GB, free: 2.863 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.5076, allocations: 7.984 kB / 1.321 GB, free: 2.855 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.5076, allocations: 3.938 kB / 1.321 GB, free: 2.852 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5076, allocations: 0 / 1.321 GB, free: 2.852 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.5079, allocations: 219.4 kB / 1.321 GB, free: 2.621 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.508, allocations: 31.81 kB / 1.321 GB, free: 2.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.508, allocations: 3.984 kB / 1.321 GB, free: 2.586 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.5082, allocations: 15.94 kB / 1.321 GB, free: 2.57 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.5082, allocations: 11.97 kB / 1.321 GB, free: 2.559 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.5083, allocations: 12 kB / 1.321 GB, free: 2.547 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001/0.5084, allocations: 125.5 kB / 1.321 GB, free: 2.426 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.5084, allocations: 0 / 1.321 GB, free: 2.426 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0004033/0.5088, allocations: 79.8 kB / 1.321 GB, free: 2.348 MB / 1.014 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.0003474/0.5091, allocations: 179.8 kB / 1.322 GB, free: 2.16 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002658/0.5094, allocations: 120.6 kB / 1.322 GB, free: 2.043 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.5094, allocations: 4 kB / 1.322 GB, free: 2.039 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 7.372e-05/0.5095, allocations: 42.17 kB / 1.322 GB, free: 2 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.5099, allocations: 51.94 kB / 1.322 GB, free: 1.949 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007967/0.5107, allocations: 348.1 kB / 1.322 GB, free: 1.582 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.5112, allocations: 0.7207 MB / 1.323 GB, free: 0.8359 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001493/0.5113, allocations: 45.75 kB / 1.323 GB, free: 0.793 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.5114, allocations: 31.42 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB
Notification: Performance of SimCode: time 4.01e-07/0.5114, allocations: 0 / 1.323 GB, free: 0.7617 MB / 1.014 GB
Notification: Performance of Templates: time 0.008608/0.52, allocations: 3.567 MB / 1.326 GB, free: 13.23 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterProperties.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.629017671570182]