Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001618/0.001618, 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.001727/0.001727, allocations: 194.2 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.488/1.488, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.815/2.815, allocations: 476.7 MB / 0.7646 GB, free: 9.895 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion")
translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 71.89 kB / 1.109 GB, free: 6.371 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9852/0.9872, allocations: 168.8 MB / 1.274 GB, free: 4.215 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006763/0.994, allocations: 4.063 MB / 1.278 GB, free: 132 kB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0002553/0.9943, allocations: 155.6 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.9943, allocations: 0 / 1.278 GB, free: 15.97 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.9944, allocations: 3.844 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 8.869e-05/0.9945, allocations: 15.91 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.9949, allocations: 79.75 kB / 1.279 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.0001069/0.995, allocations: 35.8 kB / 1.279 GB, free: 15.84 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.995, allocations: 11.98 kB / 1.279 GB, free: 15.83 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.9951, allocations: 11.98 kB / 1.279 GB, free: 15.82 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.011e-05/0.9952, allocations: 8 kB / 1.279 GB, free: 15.81 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.9952, allocations: 4 kB / 1.279 GB, free: 15.81 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.9954, allocations: 55.8 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.9954, allocations: 19.86 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.9954, allocations: 4 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.9956, allocations: 47.55 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.9956, allocations: 0 / 1.279 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.213e-06/0.9956, allocations: 3.938 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 4.358e-06/0.9956, allocations: 4 kB / 1.279 GB, free: 15.68 MB / 0.9825 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.0003903/0.996, allocations: 257 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.996, allocations: 12.03 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.9961, allocations: 0.9375 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.9962, allocations: 110.5 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.9963, allocations: 30.27 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.9963, allocations: 384 / 1.279 GB, free: 15.22 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.9964, allocations: 45.62 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.9964, allocations: 4 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.9964, allocations: 4 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.9964, allocations: 4 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.9965, allocations: 15.92 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.9969, allocations: 240 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.455e-05/0.997, allocations: 22.58 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.997, allocations: 4.859 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.842e-05/0.997, allocations: 8.062 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.9971, allocations: 34.56 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.9971, allocations: 0 / 1.279 GB, free: 14.78 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=1): time 0.0001606/0.9972, allocations: 41.62 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.9973, allocations: 51.41 kB / 1.28 GB, free: 14.67 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.809e-05/0.9974, allocations: 101.8 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 9.832e-05/0.9975, allocations: 25.83 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.9975, allocations: 96.09 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.9976, allocations: 7.953 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.9976, allocations: 13.72 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.000172/0.9978, allocations: 322.7 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.9978, allocations: 3.984 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/0.9978, allocations: 13.72 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.131e-05/0.9978, allocations: 29.66 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9979, allocations: 0 / 1.28 GB, free: 14.02 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 8.241e-05/0.9979, allocations: 49.62 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9979, allocations: 9.562 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.998, allocations: 0 / 1.28 GB, free: 13.96 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.998, allocations: 0 / 1.28 GB, free: 13.96 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.286e-05/0.998, allocations: 7.984 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.998, allocations: 0 / 1.28 GB, free: 13.95 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.998, allocations: 8.062 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.998, allocations: 0 / 1.28 GB, free: 13.94 MB / 0.9825 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 9.823e-05/0.9981, allocations: 113.8 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.9982, allocations: 0 / 1.28 GB, free: 13.82 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.9983, allocations: 132.8 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-05/0.9984, allocations: 180.2 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.728e-05/0.9985, allocations: 180.3 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.012e-05/0.9986, allocations: 184.2 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.9989, allocations: 376.2 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.623e-05/0.9989, allocations: 108.9 kB / 1.281 GB, free: 12.59 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.999, allocations: 101 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.9991, allocations: 180.2 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/0.9993, allocations: 188.2 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.134e-05/0.9994, allocations: 180.3 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.804e-05/0.9994, allocations: 180.2 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.9996, allocations: 315.7 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.9997, allocations: 112.9 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.9998, allocations: 180.3 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/1, allocations: 116.9 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/1, allocations: 176.3 kB / 1.283 GB, free: 10.81 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/1, allocations: 101 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 8.759e-05/1, allocations: 91.2 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 9.1e-08/1, allocations: 4 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002552/1, allocations: 12 kB / 1.283 GB, free: 10.6 MB / 0.9825 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.0002969/1.001, allocations: 198.3 kB / 1.283 GB, free: 10.39 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 8.121e-05/1.001, allocations: 15.98 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.001, allocations: 0 / 1.284 GB, free: 10.38 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 1.103e-06/1.001, allocations: 0 / 1.284 GB, free: 10.38 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/1.001, allocations: 459.8 kB / 1.284 GB, free: 9.926 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/1.002, allocations: 182.2 kB / 1.284 GB, free: 9.719 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/1.002, allocations: 0.6729 MB / 1.285 GB, free: 9.02 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 4.023e-05/1.002, allocations: 12 kB / 1.285 GB, free: 9.008 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/1.002, allocations: 7.438 kB / 1.285 GB, free: 9 MB / 0.9825 GB
Notification: Performance of SimCode: time 3e-07/1.002, allocations: 0 / 1.285 GB, free: 9 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003139/1.005, allocations: 0.6472 MB / 1.285 GB, free: 8.359 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.143627293407917]