Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001623/0.001623, allocations: 110 kB / 18.93 MB, free: 2.945 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.001549/0.001549, allocations: 194 kB / 22.23 MB, free: 5.156 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.35/1.35, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.934/2.934, allocations: 0.4893 GB / 0.7884 GB, free: 33.13 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-master/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.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion")
translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 60.44 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3236, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004719/0.3283, allocations: 3.337 MB / 1.319 GB, free: 6.324 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 9.369e-05/0.3284, allocations: 51.84 kB / 1.319 GB, free: 6.273 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.3284, allocations: 0 / 1.319 GB, free: 6.273 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 8.901e-05/0.3285, allocations: 3.938 kB / 1.319 GB, free: 6.27 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.608e-05/0.3286, allocations: 15.92 kB / 1.319 GB, free: 6.254 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.3291, allocations: 191.3 kB / 1.32 GB, free: 6.066 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.3292, allocations: 31.86 kB / 1.32 GB, free: 6.035 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.3293, allocations: 7.984 kB / 1.32 GB, free: 6.027 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.3293, allocations: 11.98 kB / 1.32 GB, free: 6.016 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.3294, allocations: 19.92 kB / 1.32 GB, free: 5.996 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.3294, allocations: 3.984 kB / 1.32 GB, free: 5.992 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.3297, allocations: 191.5 kB / 1.32 GB, free: 5.805 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.3298, allocations: 7.984 kB / 1.32 GB, free: 5.797 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.3298, allocations: 15.92 kB / 1.32 GB, free: 5.781 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000253/0.33, allocations: 131.6 kB / 1.32 GB, free: 5.652 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.33, allocations: 4 kB / 1.32 GB, free: 5.648 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.123e-06/0.33, allocations: 0 / 1.32 GB, free: 5.648 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.52e-06/0.3301, allocations: 0 / 1.32 GB, free: 5.648 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: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.000381/0.3304, allocations: 274.2 kB / 1.32 GB, free: 5.352 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.3305, allocations: 8.031 kB / 1.32 GB, free: 5.344 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.3305, allocations: 4.938 kB / 1.32 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.895e-05/0.3306, allocations: 110.4 kB / 1.32 GB, free: 5.207 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/0.3307, allocations: 26.27 kB / 1.32 GB, free: 5.176 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.3307, allocations: 4.375 kB / 1.32 GB, free: 5.172 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3308, allocations: 53.59 kB / 1.32 GB, free: 5.113 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3308, allocations: 0 / 1.32 GB, free: 5.113 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.3308, allocations: 0 / 1.32 GB, free: 5.113 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.3308, allocations: 4 kB / 1.32 GB, free: 5.109 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.836e-05/0.3309, allocations: 19.98 kB / 1.32 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.3314, allocations: 259.9 kB / 1.321 GB, free: 4.793 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 3.977e-05/0.3314, allocations: 18.58 kB / 1.321 GB, free: 4.766 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.3314, allocations: 8.922 kB / 1.321 GB, free: 4.754 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.999e-05/0.3315, allocations: 27.97 kB / 1.321 GB, free: 4.727 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.3315, allocations: 42.56 kB / 1.321 GB, free: 4.676 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3315, allocations: 0 / 1.321 GB, free: 4.676 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1): time 0.0001456/0.3317, allocations: 37.62 kB / 1.321 GB, free: 4.633 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3317, allocations: 51.41 kB / 1.321 GB, free: 4.57 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/0.3318, allocations: 101.9 kB / 1.321 GB, free: 4.461 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3318, allocations: 29.69 kB / 1.321 GB, free: 4.426 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.3319, allocations: 84.09 kB / 1.321 GB, free: 4.34 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.3319, allocations: 16.02 kB / 1.321 GB, free: 4.324 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.3319, allocations: 13.72 kB / 1.321 GB, free: 4.305 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001236/0.3321, allocations: 318.8 kB / 1.321 GB, free: 3.984 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.3321, allocations: 3.984 kB / 1.321 GB, free: 3.98 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.3321, allocations: 17.72 kB / 1.321 GB, free: 3.957 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/0.3321, allocations: 21.66 kB / 1.321 GB, free: 3.93 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3321, allocations: 4 kB / 1.321 GB, free: 3.926 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 8.027e-05/0.3322, allocations: 45.69 kB / 1.321 GB, free: 3.875 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3322, allocations: 8 kB / 1.321 GB, free: 3.867 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3322, allocations: 0 / 1.321 GB, free: 3.867 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3322, allocations: 0 / 1.321 GB, free: 3.867 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.691e-05/0.3323, allocations: 19.86 kB / 1.322 GB, free: 3.848 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3323, allocations: 0 / 1.322 GB, free: 3.848 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.3323, allocations: 4 kB / 1.322 GB, free: 3.844 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3323, allocations: 0 / 1.322 GB, free: 3.844 MB / 1.014 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.958e-05/0.3324, allocations: 122.5 kB / 1.322 GB, free: 3.715 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.3324, allocations: 3.938 kB / 1.322 GB, free: 3.711 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.3325, allocations: 120.9 kB / 1.322 GB, free: 3.582 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.63e-05/0.3326, allocations: 180.2 kB / 1.322 GB, free: 3.398 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.418e-05/0.3327, allocations: 180.3 kB / 1.322 GB, free: 3.215 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.858e-05/0.3328, allocations: 192.2 kB / 1.322 GB, free: 3.02 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.333, allocations: 376.2 kB / 1.323 GB, free: 2.602 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.42e-05/0.3331, allocations: 105.1 kB / 1.323 GB, free: 2.492 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.3331, allocations: 108.9 kB / 1.323 GB, free: 2.379 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.465e-05/0.3332, allocations: 180.2 kB / 1.323 GB, free: 2.195 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/0.3333, allocations: 180.2 kB / 1.323 GB, free: 2.012 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.378e-05/0.3333, allocations: 184.3 kB / 1.323 GB, free: 1.824 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.198e-05/0.3334, allocations: 176.3 kB / 1.324 GB, free: 1.645 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.3336, allocations: 311.7 kB / 1.324 GB, free: 1.316 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.3336, allocations: 105.2 kB / 1.324 GB, free: 1.207 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-05/0.3337, allocations: 184.3 kB / 1.324 GB, free: 1.02 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.3338, allocations: 109 kB / 1.324 GB, free: 0.9062 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.3339, allocations: 184.2 kB / 1.324 GB, free: 0.7188 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.334, allocations: 105 kB / 1.324 GB, free: 0.6094 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.201e-05/0.334, allocations: 83.28 kB / 1.325 GB, free: 0.5273 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.334, allocations: 0 / 1.325 GB, free: 0.5273 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002635/0.3343, allocations: 35.86 kB / 1.325 GB, free: 0.4922 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 (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.0002575/0.3345, allocations: 240.1 kB / 1.325 GB, free: 252 kB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 7.721e-05/0.3346, allocations: 11.94 kB / 1.325 GB, free: 240 kB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3346, allocations: 0 / 1.325 GB, free: 240 kB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.3346, allocations: 0 / 1.325 GB, free: 240 kB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3351, allocations: 471.8 kB / 1.325 GB, free: 15.77 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.3353, allocations: 182.2 kB / 1.325 GB, free: 15.57 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.3356, allocations: 0.6808 MB / 1.326 GB, free: 14.86 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 3.795e-05/0.3357, allocations: 6.391 kB / 1.326 GB, free: 14.86 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.3357, allocations: 7.438 kB / 1.326 GB, free: 14.85 MB / 1.029 GB
Notification: Performance of SimCode: time 2.6e-07/0.3357, allocations: 0 / 1.326 GB, free: 14.85 MB / 1.029 GB
Notification: Performance of Templates: time 0.003731/0.3394, allocations: 1.235 MB / 1.327 GB, free: 13.67 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.19160985853523]