Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamProperties.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.001834/0.001834, 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.001984/0.001984, allocations: 189.3 kB / 22.1 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.248/3.248, allocations: 495.8 MB / 0.783 GB, free: 33.63 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.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties")
translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 77.75 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4034, allocations: 173.6 MB / 1.307 GB, free: 1.863 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1807/0.5842, allocations: 135.1 MB / 1.439 GB, free: 10.25 MB / 1.139 GB
Notification: Performance of NFInst.instExpressions: time 0.03418/0.6183, allocations: 22.67 MB / 1.461 GB, free: 3.508 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.6186, allocations: 0 / 1.461 GB, free: 3.508 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.6189, allocations: 55.66 kB / 1.461 GB, free: 3.453 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.6193, allocations: 99.3 kB / 1.461 GB, free: 3.355 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.02057/0.6399, allocations: 6.953 MB / 1.468 GB, free: 12.41 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.0005001/0.6404, allocations: 255.8 kB / 1.468 GB, free: 12.16 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.792e-05/0.6405, allocations: 9.75 kB / 1.468 GB, free: 12.15 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003889/0.6409, allocations: 147.4 kB / 1.468 GB, free: 12.01 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.641, allocations: 91.66 kB / 1.468 GB, free: 11.92 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.6411, allocations: 8 kB / 1.468 GB, free: 11.91 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.02528/0.6664, allocations: 11.53 MB / 1.479 GB, free: 376 kB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.6665, allocations: 39.83 kB / 1.48 GB, free: 336 kB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.6667, allocations: 79.64 kB / 1.48 GB, free: 256 kB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.02142/0.6881, allocations: 6.451 MB / 1.486 GB, free: 9.785 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6881, allocations: 0 / 1.486 GB, free: 9.785 MB / 1.186 GB
Notification: Performance of FrontEnd: time 2.224e-06/0.6881, allocations: 0 / 1.486 GB, free: 9.785 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 9.228e-06/0.6881, allocations: 0 / 1.486 GB, free: 9.785 MB / 1.186 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 38
 * Number of variables: 38
Notification: Performance of Generate backend data structure: time 0.005122/0.6932, allocations: 1.161 MB / 1.487 GB, free: 8.59 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.6933, allocations: 12.86 kB / 1.487 GB, free: 8.578 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.6944, allocations: 80.77 kB / 1.487 GB, free: 8.5 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.6948, allocations: 174.2 kB / 1.487 GB, free: 8.305 MB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.6949, allocations: 20.12 kB / 1.487 GB, free: 8.285 MB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.6949, allocations: 12 kB / 1.487 GB, free: 8.273 MB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.6963, allocations: 472.7 kB / 1.488 GB, free: 7.793 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6963, allocations: 0 / 1.488 GB, free: 7.793 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.6963, allocations: 8 kB / 1.488 GB, free: 7.785 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.6963, allocations: 4 kB / 1.488 GB, free: 7.781 MB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.6977, allocations: 0.6244 MB / 1.488 GB, free: 7.156 MB / 1.186 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.699, allocations: 0.8579 MB / 1.489 GB, free: 6.219 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009079/0.6999, allocations: 238.4 kB / 1.489 GB, free: 5.977 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.7001, allocations: 60.83 kB / 1.49 GB, free: 5.914 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.09349/0.7936, allocations: 23.1 MB / 1.512 GB, free: 14.78 MB / 1.217 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.7936, allocations: 38.56 kB / 1.512 GB, free: 14.73 MB / 1.217 GB
Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.7936, allocations: 0 / 1.512 GB, free: 14.73 MB / 1.217 GB
Notification: Performance of matching and sorting (n=25): time 0.001963/0.7956, allocations: 423.8 kB / 1.513 GB, free: 14.31 MB / 1.217 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.7956, allocations: 55.41 kB / 1.513 GB, free: 14.25 MB / 1.217 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.7958, allocations: 135.9 kB / 1.513 GB, free: 14.11 MB / 1.217 GB
Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.7958, allocations: 33.7 kB / 1.513 GB, free: 14.07 MB / 1.217 GB
Notification: Performance of collectInitialEqns (initialization): time 9.834e-05/0.7959, allocations: 112.4 kB / 1.513 GB, free: 13.95 MB / 1.217 GB
Notification: Performance of collectInitialBindings (initialization): time 9.813e-05/0.796, allocations: 95.2 kB / 1.513 GB, free: 13.86 MB / 1.217 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.7962, allocations: 81.66 kB / 1.513 GB, free: 13.77 MB / 1.217 GB
Notification: Performance of setup shared object (initialization): time 0.000155/0.7963, allocations: 330.7 kB / 1.513 GB, free: 13.44 MB / 1.217 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.7965, allocations: 79.89 kB / 1.513 GB, free: 13.36 MB / 1.217 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.7968, allocations: 129.1 kB / 1.514 GB, free: 13.22 MB / 1.217 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.7973, allocations: 220.8 kB / 1.514 GB, free: 12.99 MB / 1.217 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.7973, allocations: 3.984 kB / 1.514 GB, free: 12.98 MB / 1.217 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008126/0.7981, allocations: 293.3 kB / 1.514 GB, free: 12.69 MB / 1.217 GB
Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.7981, allocations: 8.156 kB / 1.514 GB, free: 12.68 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.7981, allocations: 4 kB / 1.514 GB, free: 12.68 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.7981, allocations: 0 / 1.514 GB, free: 12.68 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.7985, allocations: 87.88 kB / 1.514 GB, free: 12.59 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.7985, allocations: 3.984 kB / 1.514 GB, free: 12.59 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.7986, allocations: 27.78 kB / 1.514 GB, free: 12.56 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.7987, allocations: 19.98 kB / 1.514 GB, free: 12.54 MB / 1.217 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * 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): 30
 * Array equations: 0
 * 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.000184/0.7989, allocations: 129.7 kB / 1.514 GB, free: 12.41 MB / 1.217 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.7991, allocations: 15.91 kB / 1.514 GB, free: 12.39 MB / 1.217 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003049/0.8021, allocations: 2.498 MB / 1.517 GB, free: 9.879 MB / 1.217 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.8021, allocations: 7.984 kB / 1.517 GB, free: 9.871 MB / 1.217 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.8021, allocations: 0 / 1.517 GB, free: 9.871 MB / 1.217 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.8021, allocations: 7.922 kB / 1.517 GB, free: 9.863 MB / 1.217 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/0.8066, allocations: 3.602 MB / 1.52 GB, free: 6.156 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.8066, allocations: 0 / 1.52 GB, free: 6.156 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.8069, allocations: 51.95 kB / 1.52 GB, free: 6.105 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.807, allocations: 0 / 1.52 GB, free: 6.105 MB / 1.217 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.807, allocations: 15.94 kB / 1.52 GB, free: 6.09 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.807, allocations: 0 / 1.52 GB, free: 6.09 MB / 1.217 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.807, allocations: 0 / 1.52 GB, free: 6.09 MB / 1.217 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.808, allocations: 0.5623 MB / 1.521 GB, free: 5.512 MB / 1.217 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.8082, allocations: 67.56 kB / 1.521 GB, free: 5.445 MB / 1.217 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.8082, allocations: 7.938 kB / 1.521 GB, free: 5.438 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.8084, allocations: 12 kB / 1.521 GB, free: 5.426 MB / 1.217 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.8085, allocations: 27.95 kB / 1.521 GB, free: 5.398 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.8085, allocations: 12 kB / 1.521 GB, free: 5.387 MB / 1.217 GB
Notification: Performance of sorting global known variables: time 0.0001166/0.8086, allocations: 109.8 kB / 1.521 GB, free: 5.281 MB / 1.217 GB
Notification: Performance of sort global known variables: time 7e-08/0.8086, allocations: 0 / 1.521 GB, free: 5.281 MB / 1.217 GB
Notification: Performance of remove unused functions: time 0.006794/0.8154, allocations: 1.707 MB / 1.523 GB, free: 3.57 MB / 1.217 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (28):
 * Single equations (assignments): 25
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 3
 * 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.009906/0.8253, allocations: 1.952 MB / 1.525 GB, free: 1.605 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.0008549/0.8262, allocations: 316.3 kB / 1.525 GB, free: 1.293 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.8262, allocations: 0 / 1.525 GB, free: 1.293 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.8265, allocations: 197.2 kB / 1.525 GB, free: 1.102 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.8272, allocations: 64.25 kB / 1.525 GB, free: 1.039 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.8284, allocations: 0.6479 MB / 1.526 GB, free: 372 kB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.8288, allocations: 0.7699 MB / 1.527 GB, free: 15.57 MB / 1.232 GB
Notification: Performance of simCode: alias equations: time 0.0006304/0.8294, allocations: 412.9 kB / 1.527 GB, free: 15.16 MB / 1.232 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.8296, allocations: 51.41 kB / 1.527 GB, free: 15.11 MB / 1.232 GB
Notification: Performance of SimCode: time 6.82e-07/0.8296, allocations: 0 / 1.527 GB, free: 15.11 MB / 1.232 GB
Notification: Performance of Templates: time 0.09171/0.9213, allocations: 59.75 MB / 1.585 GB, free: 3.32 MB / 1.279 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_12_Buildings.Media.Examples.SteamProperties  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamProperties.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: 14.47924896236509]