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.001213/0.001213, allocations: 113.9 kB / 18.94 MB, free: 2.785 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.001779/0.001779, allocations: 191.6 kB / 22.23 MB, free: 5.227 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.341/1.341, allocations: 225.6 MB / 251 MB, free: 13.02 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 2.923/2.923, allocations: 496 MB / 0.7835 GB, free: 33.54 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.001935/0.001935, allocations: 65.61 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3461, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1643/0.5104, allocations: 135.8 MB / 1.44 GB, free: 9.457 MB / 1.139 GB
Notification: Performance of NFInst.instExpressions: time 0.0001844/0.5106, allocations: 47.88 kB / 1.44 GB, free: 9.41 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.5106, allocations: 0 / 1.44 GB, free: 9.41 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.5107, allocations: 7.922 kB / 1.44 GB, free: 9.402 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 7.769e-05/0.5108, allocations: 15.92 kB / 1.44 GB, free: 9.387 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008885/0.5117, allocations: 254.9 kB / 1.44 GB, free: 9.137 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 8.326e-05/0.5117, allocations: 27.92 kB / 1.44 GB, free: 9.109 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.5118, allocations: 8 kB / 1.44 GB, free: 9.102 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.5118, allocations: 19.86 kB / 1.44 GB, free: 9.082 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.304e-05/0.5119, allocations: 15.98 kB / 1.44 GB, free: 9.066 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.5119, allocations: 0 / 1.44 GB, free: 9.066 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004637/0.5124, allocations: 255.4 kB / 1.441 GB, free: 8.816 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.5124, allocations: 19.91 kB / 1.441 GB, free: 8.797 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.5124, allocations: 7.938 kB / 1.441 GB, free: 8.789 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.5128, allocations: 191.5 kB / 1.441 GB, free: 8.602 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5128, allocations: 4 kB / 1.441 GB, free: 8.598 MB / 1.139 GB
Notification: Performance of FrontEnd: time 1.262e-06/0.5128, allocations: 4 kB / 1.441 GB, free: 8.594 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 5.991e-06/0.5128, allocations: 0 / 1.441 GB, free: 8.594 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.0004234/0.5132, allocations: 278.1 kB / 1.441 GB, free: 8.293 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5133, allocations: 8.922 kB / 1.441 GB, free: 8.285 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.5133, allocations: 0.9375 kB / 1.441 GB, free: 8.285 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.5134, allocations: 110.5 kB / 1.441 GB, free: 8.152 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.5135, allocations: 30.27 kB / 1.441 GB, free: 8.117 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.5135, allocations: 11.94 kB / 1.441 GB, free: 8.105 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.5136, allocations: 37.69 kB / 1.441 GB, free: 8.062 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5136, allocations: 0 / 1.441 GB, free: 8.062 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.5136, allocations: 0 / 1.441 GB, free: 8.062 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.5137, allocations: 0 / 1.441 GB, free: 8.062 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.007e-05/0.5137, allocations: 23.92 kB / 1.441 GB, free: 8.039 MB / 1.139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.5143, allocations: 275.9 kB / 1.441 GB, free: 7.727 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.179e-05/0.5144, allocations: 22.58 kB / 1.441 GB, free: 7.695 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.5144, allocations: 4.859 kB / 1.441 GB, free: 7.688 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.159e-05/0.5145, allocations: 24.05 kB / 1.442 GB, free: 7.664 MB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.5145, allocations: 42.5 kB / 1.442 GB, free: 7.613 MB / 1.139 GB
Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5145, allocations: 0 / 1.442 GB, free: 7.613 MB / 1.139 GB
Notification: Performance of matching and sorting (n=1): time 0.0001534/0.5146, allocations: 41.62 kB / 1.442 GB, free: 7.566 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.5147, allocations: 55.53 kB / 1.442 GB, free: 7.5 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/0.5148, allocations: 109.8 kB / 1.442 GB, free: 7.383 MB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.5148, allocations: 25.7 kB / 1.442 GB, free: 7.352 MB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.5148, allocations: 84.09 kB / 1.442 GB, free: 7.266 MB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.5148, allocations: 11.88 kB / 1.442 GB, free: 7.254 MB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.5149, allocations: 13.72 kB / 1.442 GB, free: 7.234 MB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.000137/0.515, allocations: 326.8 kB / 1.442 GB, free: 6.906 MB / 1.139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.515, allocations: 0 / 1.442 GB, free: 6.906 MB / 1.139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.5151, allocations: 17.72 kB / 1.442 GB, free: 6.883 MB / 1.139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.5151, allocations: 25.66 kB / 1.442 GB, free: 6.852 MB / 1.139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5151, allocations: 0 / 1.442 GB, free: 6.852 MB / 1.139 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 7.439e-05/0.5152, allocations: 49.62 kB / 1.442 GB, free: 6.797 MB / 1.139 GB
Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5152, allocations: 8 kB / 1.442 GB, free: 6.789 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.5152, allocations: 0 / 1.442 GB, free: 6.789 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5152, allocations: 4.062 kB / 1.442 GB, free: 6.785 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.3e-05/0.5153, allocations: 7.984 kB / 1.442 GB, free: 6.777 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.5153, allocations: 0 / 1.442 GB, free: 6.777 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.5153, allocations: 4 kB / 1.442 GB, free: 6.773 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.5153, allocations: 7.875 kB / 1.442 GB, free: 6.766 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 7.935e-05/0.5154, allocations: 114.6 kB / 1.442 GB, free: 6.645 MB / 1.139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.5154, allocations: 0 / 1.442 GB, free: 6.645 MB / 1.139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.5155, allocations: 124.9 kB / 1.443 GB, free: 6.512 MB / 1.139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.072e-05/0.5156, allocations: 180.3 kB / 1.443 GB, free: 6.328 MB / 1.139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.076e-05/0.5156, allocations: 176.3 kB / 1.443 GB, free: 6.148 MB / 1.139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.149e-05/0.5157, allocations: 180.2 kB / 1.443 GB, free: 5.965 MB / 1.139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.516, allocations: 380.2 kB / 1.443 GB, free: 5.543 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-05/0.516, allocations: 108.9 kB / 1.444 GB, free: 5.43 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.516, allocations: 109 kB / 1.444 GB, free: 5.316 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-05/0.5161, allocations: 180.3 kB / 1.444 GB, free: 5.133 MB / 1.139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.442e-05/0.5162, allocations: 184.2 kB / 1.444 GB, free: 4.945 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.306e-05/0.5163, allocations: 180.3 kB / 1.444 GB, free: 4.762 MB / 1.139 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.031e-05/0.5163, allocations: 180.2 kB / 1.444 GB, free: 4.578 MB / 1.139 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.5165, allocations: 319.9 kB / 1.445 GB, free: 4.242 MB / 1.139 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.5165, allocations: 108.9 kB / 1.445 GB, free: 4.129 MB / 1.139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.491e-05/0.5166, allocations: 180.3 kB / 1.445 GB, free: 3.945 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.5168, allocations: 108.9 kB / 1.445 GB, free: 3.832 MB / 1.139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.5169, allocations: 180.3 kB / 1.445 GB, free: 3.648 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.5169, allocations: 109 kB / 1.445 GB, free: 3.535 MB / 1.139 GB
Notification: Performance of sorting global known variables: time 5.697e-05/0.517, allocations: 91.2 kB / 1.445 GB, free: 3.445 MB / 1.139 GB
Notification: Performance of sort global known variables: time 7e-08/0.517, allocations: 0 / 1.445 GB, free: 3.445 MB / 1.139 GB
Notification: Performance of remove unused functions: time 0.0002893/0.5172, allocations: 63.69 kB / 1.445 GB, free: 3.383 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.0002997/0.5175, allocations: 246.2 kB / 1.446 GB, free: 3.129 MB / 1.139 GB
Notification: Performance of simCode: created initialization part: time 7.62e-05/0.5176, allocations: 12 kB / 1.446 GB, free: 3.117 MB / 1.139 GB
Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5176, allocations: 0 / 1.446 GB, free: 3.117 MB / 1.139 GB
Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.5176, allocations: 0 / 1.446 GB, free: 3.117 MB / 1.139 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.5181, allocations: 466.1 kB / 1.446 GB, free: 2.66 MB / 1.139 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.5183, allocations: 178.2 kB / 1.446 GB, free: 2.461 MB / 1.139 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.5186, allocations: 0.6729 MB / 1.447 GB, free: 1.762 MB / 1.139 GB
Notification: Performance of simCode: alias equations: time 3.538e-05/0.5186, allocations: 4 kB / 1.447 GB, free: 1.758 MB / 1.139 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.5187, allocations: 11.44 kB / 1.447 GB, free: 1.746 MB / 1.139 GB
Notification: Performance of SimCode: time 2.91e-07/0.5187, allocations: 4 kB / 1.447 GB, free: 1.742 MB / 1.139 GB
Notification: Performance of Templates: time 0.003979/0.5226, allocations: 1.309 MB / 1.448 GB, free: 448 kB / 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: 8.284884789958596]