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.006686/0.006686, allocations: 101.3 kB / 15.73 MB, free: 6.422 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.001493/0.001493, allocations: 188.8 kB / 16.67 MB, free: 6.352 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.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.539/2.539, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 69.41 kB / 0.9509 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3329, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1765/0.5094, allocations: 147.8 MB / 1.232 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001568/0.5097, allocations: 55.72 kB / 1.232 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.5097, allocations: 4 kB / 1.232 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.5099, allocations: 3.938 kB / 1.232 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.38e-05/0.51, allocations: 7.984 kB / 1.232 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.5106, allocations: 115.5 kB / 1.232 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.5107, allocations: 35.84 kB / 1.233 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.5107, allocations: 4 kB / 1.233 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.5108, allocations: 15.98 kB / 1.233 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.5109, allocations: 11.92 kB / 1.233 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.5109, allocations: 4 kB / 1.233 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.5112, allocations: 79.73 kB / 1.233 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.499e-05/0.5113, allocations: 15.97 kB / 1.233 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.5113, allocations: 11.94 kB / 1.233 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.5115, allocations: 71.84 kB / 1.233 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5115, allocations: 0 / 1.233 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5115, allocations: 0 / 1.233 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.5116, allocations: 0 / 1.233 GB, free: 12.68 MB / 0.9981 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.0005004/0.5121, allocations: 339.5 kB / 1.233 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5121, allocations: 12.03 kB / 1.233 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.5125, allocations: 20.91 kB / 1.233 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.5126, allocations: 172.2 kB / 1.233 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.719e-05/0.5127, allocations: 29.64 kB / 1.233 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.5127, allocations: 4 kB / 1.233 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.5129, allocations: 49.67 kB / 1.233 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5129, allocations: 0 / 1.233 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5129, allocations: 0 / 1.233 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.5129, allocations: 7.984 kB / 1.233 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.602e-05/0.513, allocations: 19.98 kB / 1.233 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.5135, allocations: 256.9 kB / 1.234 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.5135, allocations: 26.52 kB / 1.234 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.5136, allocations: 8.797 kB / 1.234 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.5136, allocations: 0 / 1.234 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.5136, allocations: 34.62 kB / 1.234 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5136, allocations: 0 / 1.234 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001542/0.5138, allocations: 37.64 kB / 1.234 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.5138, allocations: 55.34 kB / 1.234 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.514, allocations: 110 kB / 1.234 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.514, allocations: 25.7 kB / 1.234 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.514, allocations: 91.95 kB / 1.234 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.5141, allocations: 0 / 1.234 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.5141, allocations: 21.7 kB / 1.234 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5142, allocations: 310.8 kB / 1.234 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.5143, allocations: 8 kB / 1.234 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.142e-05/0.5143, allocations: 22.56 kB / 1.234 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.988e-05/0.5144, allocations: 34.52 kB / 1.234 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5144, allocations: 0 / 1.234 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.615e-05/0.5145, allocations: 53.62 kB / 1.234 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5145, allocations: 8 kB / 1.234 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5145, allocations: 0 / 1.234 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.5145, allocations: 4.094 kB / 1.234 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.5146, allocations: 8 kB / 1.234 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.5146, allocations: 11.86 kB / 1.234 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.5147, allocations: 7.844 kB / 1.234 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.5147, allocations: 4.25 kB / 1.234 GB, free: 10.68 MB / 0.9981 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 0.000161/0.5148, allocations: 113.8 kB / 1.235 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.5149, allocations: 4 kB / 1.235 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.5149, allocations: 3.125 kB / 1.235 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.5149, allocations: 0 / 1.235 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.5149, allocations: 11.94 kB / 1.235 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5149, allocations: 0 / 1.235 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.5152, allocations: 342.7 kB / 1.235 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5153, allocations: 3.984 kB / 1.235 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.396e-05/0.5153, allocations: 4 kB / 1.235 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5153, allocations: 3.938 kB / 1.235 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.5153, allocations: 0 / 1.235 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5153, allocations: 0 / 1.235 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5153, allocations: 32 / 1.235 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.948e-05/0.5154, allocations: 65.08 kB / 1.235 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.5155, allocations: 84.95 kB / 1.235 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.5155, allocations: 3.984 kB / 1.235 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.5156, allocations: 4 kB / 1.235 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.5156, allocations: 0 / 1.235 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.5156, allocations: 3.938 kB / 1.235 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.159e-05/0.5157, allocations: 95.3 kB / 1.235 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4e-07/0.5157, allocations: 0 / 1.235 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002095/0.5159, allocations: 4 kB / 1.235 GB, free: 9.836 MB / 0.9981 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.0001088/0.516, allocations: 99.25 kB / 1.235 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.592e-05/0.5161, allocations: 15.94 kB / 1.235 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5161, allocations: 0 / 1.235 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.969e-06/0.5161, allocations: 0 / 1.235 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.5164, allocations: 13.8 kB / 1.235 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.5167, allocations: 114.6 kB / 1.235 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.5171, allocations: 0.6729 MB / 1.236 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.264e-05/0.5171, allocations: 12.06 kB / 1.236 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.5172, allocations: 7.438 kB / 1.236 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.5172, allocations: 4 kB / 1.236 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of Templates: time 0.003152/0.5203, allocations: 0.5009 MB / 1.237 GB, free: 8.355 MB / 0.9981 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