Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008644/0.008644, allocations: 99.75 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 192.1 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9343/0.9357, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2255/1.161, allocations: 147.8 MB / 1.232 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001809/1.161, allocations: 47.88 kB / 1.232 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/1.162, allocations: 0 / 1.232 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/1.162, allocations: 9.078 kB / 1.232 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.44e-05/1.162, allocations: 14.08 kB / 1.232 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/1.162, allocations: 107.8 kB / 1.232 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.254e-05/1.162, allocations: 32.77 kB / 1.233 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/1.163, allocations: 6.078 kB / 1.233 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/1.163, allocations: 17.17 kB / 1.233 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/1.163, allocations: 13.42 kB / 1.233 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/1.163, allocations: 1.406 kB / 1.233 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/1.163, allocations: 92.97 kB / 1.233 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/1.163, allocations: 7.391 kB / 1.233 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/1.163, allocations: 17.36 kB / 1.233 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/1.163, allocations: 74.12 kB / 1.233 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.163, allocations: 3.984 kB / 1.233 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.044e-06/1.163, allocations: 0 / 1.233 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.163, allocations: 0 / 1.233 GB, free: 6.297 MB / 0.9669 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.0004357/1.164, allocations: 337.7 kB / 1.233 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.164, allocations: 10 kB / 1.233 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002653/1.164, allocations: 16.98 kB / 1.233 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/1.164, allocations: 165.5 kB / 1.233 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/1.164, allocations: 30.83 kB / 1.233 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/1.164, allocations: 4.953 kB / 1.233 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/1.164, allocations: 48.58 kB / 1.233 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.164, allocations: 0 / 1.233 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/1.164, allocations: 0 / 1.233 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/1.165, allocations: 6.109 kB / 1.233 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.223e-05/1.165, allocations: 22.58 kB / 1.233 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/1.165, allocations: 260.6 kB / 1.234 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.867e-05/1.165, allocations: 16.89 kB / 1.234 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/1.165, allocations: 6.109 kB / 1.234 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/1.165, allocations: 1 kB / 1.234 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/1.165, allocations: 39.59 kB / 1.234 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.165, allocations: 0 / 1.234 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001516/1.165, allocations: 43.17 kB / 1.234 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/1.165, allocations: 55.34 kB / 1.234 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/1.165, allocations: 105.8 kB / 1.234 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.165, allocations: 26.61 kB / 1.234 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/1.166, allocations: 94.12 kB / 1.234 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.814e-06/1.166, allocations: 3.953 kB / 1.234 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/1.166, allocations: 14.16 kB / 1.234 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.166, allocations: 319.9 kB / 1.234 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/1.166, allocations: 7.672 kB / 1.234 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/1.166, allocations: 22.92 kB / 1.234 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.081e-05/1.166, allocations: 34.36 kB / 1.234 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.166, allocations: 7.984 kB / 1.234 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.481e-05/1.166, allocations: 50.27 kB / 1.234 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.166, allocations: 5.281 kB / 1.234 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.166, allocations: 1.406 kB / 1.234 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/1.166, allocations: 1.25 kB / 1.234 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.738e-05/1.166, allocations: 9.516 kB / 1.234 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.166, allocations: 8.875 kB / 1.234 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/1.166, allocations: 8.938 kB / 1.234 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/1.166, allocations: 2.625 kB / 1.234 GB, free: 4.453 MB / 0.9669 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.408e-05/1.166, allocations: 111.9 kB / 1.235 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/1.166, allocations: 5.266 kB / 1.235 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/1.166, allocations: 4.562 kB / 1.235 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/1.166, allocations: 0 / 1.235 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.166, allocations: 4.906 kB / 1.235 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.166, allocations: 3.984 kB / 1.235 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/1.167, allocations: 342.8 kB / 1.235 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.167, allocations: 5.156 kB / 1.235 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-05/1.167, allocations: 1.406 kB / 1.235 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/1.167, allocations: 3.938 kB / 1.235 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/1.167, allocations: 1.312 kB / 1.235 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.167, allocations: 3.938 kB / 1.235 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.167, allocations: 0 / 1.235 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.662e-05/1.167, allocations: 55.66 kB / 1.235 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/1.167, allocations: 86.48 kB / 1.235 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/1.167, allocations: 1.125 kB / 1.235 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/1.167, allocations: 6.125 kB / 1.235 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/1.167, allocations: 3.984 kB / 1.235 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/1.167, allocations: 1 kB / 1.235 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.911e-05/1.167, allocations: 84.66 kB / 1.235 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.167, allocations: 0 / 1.235 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001934/1.167, allocations: 7 kB / 1.235 GB, free: 3.668 MB / 0.9669 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.0001475/1.167, allocations: 104.6 kB / 1.235 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001034/1.167, allocations: 16.55 kB / 1.235 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.168, allocations: 0 / 1.235 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.752e-06/1.168, allocations: 6.25 kB / 1.235 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/1.168, allocations: 6.969 kB / 1.235 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/1.168, allocations: 117.9 kB / 1.235 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/1.168, allocations: 0.68 MB / 1.236 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.146e-05/1.168, allocations: 8.859 kB / 1.236 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/1.169, allocations: 8.562 kB / 1.236 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/1.169, allocations: 0 / 1.236 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.002874/1.171, allocations: 0.5135 MB / 1.237 GB, free: 2.465 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches