Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001509/0.001509, 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.001868/0.001868, allocations: 191.5 kB / 22.23 MB, free: 5.16 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.36/1.36, allocations: 225.6 MB / 251 MB, free: 12.99 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.965/2.965, allocations: 0.4893 GB / 0.7884 GB, free: 32.99 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.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion")
translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 70.77 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3497, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1677/0.5174, allocations: 148.3 MB / 1.461 GB, free: 4.809 MB / 1.154 GB
Notification: Performance of NFInst.instExpressions: time 0.0001361/0.5176, allocations: 51.73 kB / 1.461 GB, free: 4.762 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.5176, allocations: 4 kB / 1.461 GB, free: 4.758 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.5177, allocations: 7.938 kB / 1.461 GB, free: 4.75 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 7.209e-05/0.5178, allocations: 15.91 kB / 1.461 GB, free: 4.734 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.5183, allocations: 111.6 kB / 1.461 GB, free: 4.625 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.5183, allocations: 31.86 kB / 1.461 GB, free: 4.594 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.5184, allocations: 8 kB / 1.461 GB, free: 4.586 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.5184, allocations: 19.97 kB / 1.461 GB, free: 4.566 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.789e-05/0.5185, allocations: 11.94 kB / 1.461 GB, free: 4.555 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.5185, allocations: 0 / 1.461 GB, free: 4.555 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.5188, allocations: 95.69 kB / 1.461 GB, free: 4.461 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.5188, allocations: 8 kB / 1.461 GB, free: 4.453 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.5188, allocations: 15.91 kB / 1.461 GB, free: 4.438 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.000159/0.519, allocations: 67.86 kB / 1.461 GB, free: 4.371 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.519, allocations: 0 / 1.461 GB, free: 4.371 MB / 1.154 GB
Notification: Performance of FrontEnd: time 1.252e-06/0.519, allocations: 0 / 1.461 GB, free: 4.371 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 4.719e-06/0.519, allocations: 0 / 1.461 GB, free: 4.371 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.0003691/0.5194, allocations: 266.3 kB / 1.462 GB, free: 4.082 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.5194, allocations: 12.03 kB / 1.462 GB, free: 4.07 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.5196, allocations: 20.88 kB / 1.462 GB, free: 4.051 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.629e-05/0.5197, allocations: 106.5 kB / 1.462 GB, free: 3.922 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.5198, allocations: 37.58 kB / 1.462 GB, free: 3.879 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.5198, allocations: 0 / 1.462 GB, free: 3.879 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.5199, allocations: 57.64 kB / 1.462 GB, free: 3.816 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5199, allocations: 4 kB / 1.462 GB, free: 3.812 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.52, allocations: 0 / 1.462 GB, free: 3.812 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.52, allocations: 0 / 1.462 GB, free: 3.812 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.591e-05/0.52, allocations: 19.98 kB / 1.462 GB, free: 3.793 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.5204, allocations: 235.9 kB / 1.462 GB, free: 3.52 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.023e-05/0.5204, allocations: 18.58 kB / 1.462 GB, free: 3.492 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.5205, allocations: 12.92 kB / 1.462 GB, free: 3.477 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.5205, allocations: 4 kB / 1.462 GB, free: 3.473 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.5205, allocations: 34.5 kB / 1.462 GB, free: 3.43 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.5205, allocations: 0 / 1.462 GB, free: 3.43 MB / 1.154 GB
Notification: Performance of matching and sorting (n=1): time 0.0001232/0.5206, allocations: 37.64 kB / 1.462 GB, free: 3.387 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.5207, allocations: 55.34 kB / 1.462 GB, free: 3.32 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.5208, allocations: 109.9 kB / 1.462 GB, free: 3.203 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.5208, allocations: 29.7 kB / 1.462 GB, free: 3.168 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.5208, allocations: 88.09 kB / 1.462 GB, free: 3.078 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.5209, allocations: 7.891 kB / 1.462 GB, free: 3.07 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.5209, allocations: 17.7 kB / 1.462 GB, free: 3.047 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0001276/0.521, allocations: 318.8 kB / 1.463 GB, free: 2.727 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.521, allocations: 0 / 1.463 GB, free: 2.727 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.5211, allocations: 26.56 kB / 1.463 GB, free: 2.691 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.5211, allocations: 34.52 kB / 1.463 GB, free: 2.648 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5211, allocations: 0 / 1.463 GB, free: 2.648 MB / 1.154 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.63e-05/0.5212, allocations: 53.62 kB / 1.463 GB, free: 2.59 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.5212, allocations: 4 kB / 1.463 GB, free: 2.586 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5212, allocations: 0 / 1.463 GB, free: 2.586 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5212, allocations: 8.094 kB / 1.463 GB, free: 2.578 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.5213, allocations: 8 kB / 1.463 GB, free: 2.57 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5213, allocations: 3.938 kB / 1.463 GB, free: 2.566 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.709e-05/0.5213, allocations: 4 kB / 1.463 GB, free: 2.562 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.5213, allocations: 0 / 1.463 GB, free: 2.562 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.168e-05/0.5214, allocations: 113.8 kB / 1.463 GB, free: 2.441 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.5214, allocations: 3.938 kB / 1.463 GB, free: 2.438 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.539e-05/0.5214, allocations: 3.156 kB / 1.463 GB, free: 2.434 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.5215, allocations: 7.938 kB / 1.463 GB, free: 2.426 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5215, allocations: 7.938 kB / 1.463 GB, free: 2.418 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.5215, allocations: 0 / 1.463 GB, free: 2.418 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.5217, allocations: 317.8 kB / 1.463 GB, free: 2.055 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.5217, allocations: 3.984 kB / 1.463 GB, free: 2.051 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.234e-05/0.5217, allocations: 0 / 1.463 GB, free: 2.051 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5217, allocations: 3.938 kB / 1.463 GB, free: 2.047 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.5218, allocations: 4 kB / 1.463 GB, free: 2.043 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5218, allocations: 0 / 1.463 GB, free: 2.043 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5218, allocations: 0 / 1.463 GB, free: 2.043 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.816e-05/0.5218, allocations: 65.11 kB / 1.463 GB, free: 1.961 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.639e-06/0.5218, allocations: 3.938 kB / 1.463 GB, free: 1.957 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.5219, allocations: 4.234 kB / 1.463 GB, free: 1.953 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.5219, allocations: 8 kB / 1.463 GB, free: 1.945 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.021e-05/0.5219, allocations: 0 / 1.463 GB, free: 1.945 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.5219, allocations: 0 / 1.463 GB, free: 1.945 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 5.114e-05/0.522, allocations: 87.3 kB / 1.463 GB, free: 1.859 MB / 1.154 GB
Notification: Performance of sort global known variables: time 1e-07/0.522, allocations: 3.938 kB / 1.463 GB, free: 1.855 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0001955/0.5222, allocations: 12 kB / 1.463 GB, free: 1.844 MB / 1.154 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 (1):
 * Single equations (assignments): 1
 * 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.0001084/0.5223, allocations: 95.78 kB / 1.464 GB, free: 1.742 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 8.13e-05/0.5224, allocations: 11.94 kB / 1.464 GB, free: 1.73 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5224, allocations: 0 / 1.464 GB, free: 1.73 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 6.903e-06/0.5224, allocations: 4 kB / 1.464 GB, free: 1.727 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.5226, allocations: 12.23 kB / 1.464 GB, free: 1.715 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.5229, allocations: 106.9 kB / 1.464 GB, free: 1.586 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.5233, allocations: 0.6768 MB / 1.464 GB, free: 0.8828 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 5.238e-05/0.5233, allocations: 12.06 kB / 1.464 GB, free: 0.8711 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.5234, allocations: 7.438 kB / 1.464 GB, free: 0.8633 MB / 1.154 GB
Notification: Performance of SimCode: time 3.1e-07/0.5234, allocations: 4 kB / 1.464 GB, free: 0.8594 MB / 1.154 GB
Notification: Performance of Templates: time 0.002766/0.5261, allocations: 0.5246 MB / 1.465 GB, free: 384 kB / 1.154 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.39266272354871]