Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.001478/0.001478, allocations: 114.2 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.001585/0.001585, 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.347/1.347, 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-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.935/2.935, allocations: 496 MB / 0.7835 GB, free: 33.69 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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion")
translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 64.09 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3389, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1777/0.5166, allocations: 148.8 MB / 1.453 GB, free: 12.45 MB / 1.154 GB
Notification: Performance of NFInst.instExpressions: time 0.0001384/0.5168, allocations: 59.66 kB / 1.453 GB, free: 12.39 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.5168, allocations: 0 / 1.453 GB, free: 12.39 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 9.701e-05/0.5169, allocations: 0 / 1.453 GB, free: 12.39 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.5169, allocations: 15.92 kB / 1.453 GB, free: 12.38 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.5177, allocations: 219.2 kB / 1.453 GB, free: 12.16 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 7.881e-05/0.5178, allocations: 31.84 kB / 1.453 GB, free: 12.13 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.5178, allocations: 8 kB / 1.453 GB, free: 12.12 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.5178, allocations: 11.98 kB / 1.453 GB, free: 12.11 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.5179, allocations: 15.92 kB / 1.453 GB, free: 12.1 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.5179, allocations: 0 / 1.453 GB, free: 12.1 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.5183, allocations: 223.3 kB / 1.453 GB, free: 11.88 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.5184, allocations: 8 kB / 1.453 GB, free: 11.87 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.5184, allocations: 15.92 kB / 1.453 GB, free: 11.86 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.5186, allocations: 119.6 kB / 1.453 GB, free: 11.74 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5186, allocations: 0 / 1.453 GB, free: 11.74 MB / 1.154 GB
Notification: Performance of FrontEnd: time 1.272e-06/0.5186, allocations: 0 / 1.453 GB, free: 11.74 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 1.565e-05/0.5186, allocations: 0 / 1.453 GB, free: 11.74 MB / 1.154 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.000358/0.519, allocations: 262.3 kB / 1.453 GB, free: 11.45 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.519, allocations: 8.922 kB / 1.453 GB, free: 11.45 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/0.5193, allocations: 40.86 kB / 1.454 GB, free: 11.41 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.804e-05/0.5194, allocations: 110.5 kB / 1.454 GB, free: 11.27 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.5195, allocations: 29.64 kB / 1.454 GB, free: 11.24 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.5195, allocations: 0 / 1.454 GB, free: 11.24 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.5196, allocations: 49.67 kB / 1.454 GB, free: 11.18 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.5196, allocations: 0 / 1.454 GB, free: 11.18 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.5196, allocations: 0 / 1.454 GB, free: 11.18 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.5196, allocations: 11.88 kB / 1.454 GB, free: 11.17 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.5197, allocations: 23.98 kB / 1.454 GB, free: 11.15 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.52, allocations: 228 kB / 1.454 GB, free: 10.88 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.406e-05/0.52, allocations: 18.58 kB / 1.454 GB, free: 10.86 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.52, allocations: 12.92 kB / 1.454 GB, free: 10.84 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.5202, allocations: 19.98 kB / 1.454 GB, free: 10.82 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.5202, allocations: 34.5 kB / 1.454 GB, free: 10.78 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.5202, allocations: 0 / 1.454 GB, free: 10.78 MB / 1.154 GB
Notification: Performance of matching and sorting (n=2): time 0.0002017/0.5204, allocations: 45.69 kB / 1.454 GB, free: 10.73 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.5204, allocations: 55.41 kB / 1.454 GB, free: 10.66 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.5205, allocations: 105.8 kB / 1.454 GB, free: 10.55 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.5205, allocations: 29.83 kB / 1.454 GB, free: 10.51 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.5206, allocations: 92.08 kB / 1.454 GB, free: 10.42 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 1.073e-05/0.5206, allocations: 11.89 kB / 1.454 GB, free: 10.41 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.5206, allocations: 13.72 kB / 1.454 GB, free: 10.39 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0001321/0.5207, allocations: 318.8 kB / 1.455 GB, free: 10.07 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.5208, allocations: 4 kB / 1.455 GB, free: 10.06 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-05/0.5208, allocations: 22.52 kB / 1.455 GB, free: 10.03 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.167e-05/0.5208, allocations: 38.5 kB / 1.455 GB, free: 9.984 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5208, allocations: 0 / 1.455 GB, free: 9.984 MB / 1.154 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.371e-05/0.5209, allocations: 57.58 kB / 1.455 GB, free: 9.922 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.5209, allocations: 8 kB / 1.455 GB, free: 9.914 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-06/0.5209, allocations: 0 / 1.455 GB, free: 9.914 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.5209, allocations: 0 / 1.455 GB, free: 9.914 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.162e-05/0.521, allocations: 16.03 kB / 1.455 GB, free: 9.898 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.521, allocations: 7.922 kB / 1.455 GB, free: 9.891 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.521, allocations: 4 kB / 1.455 GB, free: 9.887 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.521, allocations: 4 kB / 1.455 GB, free: 9.883 MB / 1.154 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * 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 (4):
 * Single equations (assignments): 4
 * 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 8.105e-05/0.5211, allocations: 110.6 kB / 1.455 GB, free: 9.766 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.5211, allocations: 4 kB / 1.455 GB, free: 9.762 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.652e-05/0.5212, allocations: 11.3 kB / 1.455 GB, free: 9.754 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.5212, allocations: 0 / 1.455 GB, free: 9.754 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.5212, allocations: 3.938 kB / 1.455 GB, free: 9.75 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-06/0.5212, allocations: 4 kB / 1.455 GB, free: 9.746 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.5215, allocations: 334.6 kB / 1.455 GB, free: 9.363 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5215, allocations: 0 / 1.455 GB, free: 9.363 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.5215, allocations: 7.984 kB / 1.455 GB, free: 9.355 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5215, allocations: 3.938 kB / 1.455 GB, free: 9.352 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.5215, allocations: 4 kB / 1.455 GB, free: 9.348 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5215, allocations: 0 / 1.455 GB, free: 9.348 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5215, allocations: 8.344 kB / 1.455 GB, free: 9.34 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.56e-05/0.5216, allocations: 69.94 kB / 1.455 GB, free: 9.25 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.5216, allocations: 15.84 kB / 1.455 GB, free: 9.234 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.5216, allocations: 4 kB / 1.455 GB, free: 9.23 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.5217, allocations: 0 / 1.455 GB, free: 9.23 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-06/0.5217, allocations: 4 kB / 1.455 GB, free: 9.227 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.5217, allocations: 4.031 kB / 1.455 GB, free: 9.223 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 5.145e-05/0.5217, allocations: 87.27 kB / 1.455 GB, free: 9.137 MB / 1.154 GB
Notification: Performance of sort global known variables: time 8e-08/0.5217, allocations: 0 / 1.455 GB, free: 9.137 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0001765/0.5219, allocations: 8 kB / 1.455 GB, free: 9.129 MB / 1.154 GB
Notification: Model statistics after passing the back-end for simulation:
 * 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 simulation (2):
 * Single equations (assignments): 2
 * 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.0001013/0.522, allocations: 95.25 kB / 1.456 GB, free: 9.027 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 5.766e-05/0.5221, allocations: 19.92 kB / 1.456 GB, free: 9.008 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.5221, allocations: 4.188 kB / 1.456 GB, free: 9.004 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.5221, allocations: 4 kB / 1.456 GB, free: 9 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.5223, allocations: 7.938 kB / 1.456 GB, free: 8.992 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.5225, allocations: 123.7 kB / 1.456 GB, free: 8.84 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.5228, allocations: 0.6768 MB / 1.456 GB, free: 8.137 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 4.336e-05/0.5229, allocations: 8.125 kB / 1.456 GB, free: 8.129 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.5229, allocations: 7.438 kB / 1.456 GB, free: 8.121 MB / 1.154 GB
Notification: Performance of SimCode: time 3e-07/0.5229, allocations: 0 / 1.456 GB, free: 8.121 MB / 1.154 GB
Notification: Performance of Templates: time 0.002656/0.5255, allocations: 0.5979 MB / 1.457 GB, free: 7.527 MB / 1.154 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.380741978995502]