Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.001488/0.001488, 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.002062/0.002062, allocations: 194.9 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.621/1.621, 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.462/3.462, 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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion")
translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 69.34 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4206, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1853/0.6059, allocations: 134.4 MB / 1.438 GB, free: 10.96 MB / 1.139 GB
Notification: Performance of NFInst.instExpressions: time 0.0002013/0.6061, allocations: 55.8 kB / 1.438 GB, free: 10.91 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.6062, allocations: 0 / 1.438 GB, free: 10.91 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.6063, allocations: 8 kB / 1.438 GB, free: 10.9 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 9.44e-05/0.6064, allocations: 11.91 kB / 1.438 GB, free: 10.89 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.6075, allocations: 251 kB / 1.438 GB, free: 10.64 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.0001052/0.6076, allocations: 31.86 kB / 1.438 GB, free: 10.61 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.6077, allocations: 4 kB / 1.438 GB, free: 10.61 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.6078, allocations: 27.91 kB / 1.438 GB, free: 10.58 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.6078, allocations: 4 kB / 1.438 GB, free: 10.57 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.6079, allocations: 4 kB / 1.438 GB, free: 10.57 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.6083, allocations: 179.5 kB / 1.438 GB, free: 10.39 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.6083, allocations: 11.97 kB / 1.438 GB, free: 10.38 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.6084, allocations: 15.94 kB / 1.439 GB, free: 10.37 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.6087, allocations: 167.5 kB / 1.439 GB, free: 10.2 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6088, allocations: 0 / 1.439 GB, free: 10.2 MB / 1.139 GB
Notification: Performance of FrontEnd: time 2.174e-06/0.6088, allocations: 3.938 kB / 1.439 GB, free: 10.2 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 1.28e-05/0.6088, allocations: 0 / 1.439 GB, free: 10.2 MB / 1.139 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0005397/0.6093, allocations: 278.1 kB / 1.439 GB, free: 9.898 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.6094, allocations: 12.03 kB / 1.439 GB, free: 9.887 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.6094, allocations: 0.9375 kB / 1.439 GB, free: 9.887 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.6096, allocations: 110.5 kB / 1.439 GB, free: 9.754 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/0.6096, allocations: 34.27 kB / 1.439 GB, free: 9.715 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.6097, allocations: 3.938 kB / 1.439 GB, free: 9.711 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.6098, allocations: 37.69 kB / 1.439 GB, free: 9.668 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6098, allocations: 7.938 kB / 1.439 GB, free: 9.66 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.6098, allocations: 0 / 1.439 GB, free: 9.66 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.6099, allocations: 0 / 1.439 GB, free: 9.66 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.6099, allocations: 15.98 kB / 1.439 GB, free: 9.645 MB / 1.139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008321/0.6107, allocations: 283.9 kB / 1.439 GB, free: 9.324 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.415e-05/0.6108, allocations: 18.56 kB / 1.439 GB, free: 9.297 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.6108, allocations: 8.922 kB / 1.439 GB, free: 9.285 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.396e-05/0.6109, allocations: 23.98 kB / 1.439 GB, free: 9.262 MB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.611, allocations: 38.5 kB / 1.44 GB, free: 9.215 MB / 1.139 GB
Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.611, allocations: 0 / 1.44 GB, free: 9.215 MB / 1.139 GB
Notification: Performance of matching and sorting (n=1): time 0.0001907/0.6111, allocations: 49.62 kB / 1.44 GB, free: 9.16 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.6112, allocations: 51.41 kB / 1.44 GB, free: 9.098 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.6113, allocations: 97.86 kB / 1.44 GB, free: 8.992 MB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.6113, allocations: 25.7 kB / 1.44 GB, free: 8.961 MB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.6114, allocations: 92.08 kB / 1.44 GB, free: 8.867 MB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.6114, allocations: 3.938 kB / 1.44 GB, free: 8.863 MB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.6114, allocations: 21.67 kB / 1.44 GB, free: 8.836 MB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.0001505/0.6116, allocations: 314.8 kB / 1.44 GB, free: 8.52 MB / 1.139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.6116, allocations: 12.11 kB / 1.44 GB, free: 8.508 MB / 1.139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.6116, allocations: 21.83 kB / 1.44 GB, free: 8.48 MB / 1.139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.6117, allocations: 17.72 kB / 1.44 GB, free: 8.457 MB / 1.139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6117, allocations: 0 / 1.44 GB, free: 8.457 MB / 1.139 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 8.763e-05/0.6118, allocations: 53.62 kB / 1.44 GB, free: 8.398 MB / 1.139 GB
Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.6118, allocations: 4 kB / 1.44 GB, free: 8.395 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.6118, allocations: 4.062 kB / 1.44 GB, free: 8.391 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6118, allocations: 0 / 1.44 GB, free: 8.391 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.6119, allocations: 11.98 kB / 1.44 GB, free: 8.379 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.6119, allocations: 0 / 1.44 GB, free: 8.379 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.6119, allocations: 0 / 1.44 GB, free: 8.379 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.6119, allocations: 7.938 kB / 1.44 GB, free: 8.371 MB / 1.139 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (3):
 * Single equations (assignments): 3
 * 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.0001011/0.612, allocations: 114.6 kB / 1.44 GB, free: 8.25 MB / 1.139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.612, allocations: 0 / 1.44 GB, free: 8.25 MB / 1.139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.6122, allocations: 124.9 kB / 1.44 GB, free: 8.117 MB / 1.139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-05/0.6123, allocations: 180.2 kB / 1.441 GB, free: 7.934 MB / 1.139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.354e-05/0.6123, allocations: 184.2 kB / 1.441 GB, free: 7.746 MB / 1.139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.847e-05/0.6124, allocations: 180.3 kB / 1.441 GB, free: 7.562 MB / 1.139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.6127, allocations: 376.2 kB / 1.441 GB, free: 7.145 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-05/0.6127, allocations: 108.9 kB / 1.441 GB, free: 7.031 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.6128, allocations: 105 kB / 1.442 GB, free: 6.922 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-05/0.6128, allocations: 188.2 kB / 1.442 GB, free: 6.73 MB / 1.139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.869e-05/0.6129, allocations: 180.3 kB / 1.442 GB, free: 6.547 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.945e-05/0.613, allocations: 176.3 kB / 1.442 GB, free: 6.367 MB / 1.139 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-05/0.6131, allocations: 180.2 kB / 1.442 GB, free: 6.184 MB / 1.139 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.6133, allocations: 323.9 kB / 1.443 GB, free: 5.844 MB / 1.139 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.6133, allocations: 105 kB / 1.443 GB, free: 5.734 MB / 1.139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.152e-05/0.6134, allocations: 176.3 kB / 1.443 GB, free: 5.555 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.6136, allocations: 116.8 kB / 1.443 GB, free: 5.434 MB / 1.139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.6137, allocations: 184.3 kB / 1.443 GB, free: 5.246 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.6137, allocations: 104.9 kB / 1.443 GB, free: 5.137 MB / 1.139 GB
Notification: Performance of sorting global known variables: time 5.486e-05/0.6138, allocations: 91.22 kB / 1.443 GB, free: 5.047 MB / 1.139 GB
Notification: Performance of sort global known variables: time 1.4e-07/0.6138, allocations: 0 / 1.443 GB, free: 5.047 MB / 1.139 GB
Notification: Performance of remove unused functions: time 0.0003353/0.6141, allocations: 59.73 kB / 1.443 GB, free: 4.988 MB / 1.139 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 (0):
 * Single equations (assignments): 0
 * 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 Backend phase and start with SimCode phase: time 0.0003801/0.6145, allocations: 250.2 kB / 1.444 GB, free: 4.73 MB / 1.139 GB
Notification: Performance of simCode: created initialization part: time 9.617e-05/0.6146, allocations: 8 kB / 1.444 GB, free: 4.723 MB / 1.139 GB
Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6146, allocations: 0 / 1.444 GB, free: 4.723 MB / 1.139 GB
Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.6146, allocations: 0 / 1.444 GB, free: 4.723 MB / 1.139 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.615, allocations: 464.4 kB / 1.444 GB, free: 4.266 MB / 1.139 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.6154, allocations: 182.3 kB / 1.444 GB, free: 4.062 MB / 1.139 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.6157, allocations: 0.6768 MB / 1.445 GB, free: 3.359 MB / 1.139 GB
Notification: Performance of simCode: alias equations: time 4.02e-05/0.6157, allocations: 7.938 kB / 1.445 GB, free: 3.352 MB / 1.139 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.6157, allocations: 11.44 kB / 1.445 GB, free: 3.34 MB / 1.139 GB
Notification: Performance of SimCode: time 2.8e-07/0.6157, allocations: 0 / 1.445 GB, free: 3.34 MB / 1.139 GB
Notification: Performance of Templates: time 0.00477/0.6205, allocations: 1.315 MB / 1.446 GB, free: 2.031 MB / 1.139 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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: 10.049819394946098]