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) 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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=5000,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=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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.001501/0.001501, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002215/0.002215, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 472.7 MB / 0.7452 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 72.02 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3722, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1687/0.5409, allocations: 147.8 MB / 1.213 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001423/0.5411, allocations: 43.88 kB / 1.213 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.5412, allocations: 4 kB / 1.213 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.5413, allocations: 3.984 kB / 1.213 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.5414, allocations: 15.92 kB / 1.213 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005508/0.542, allocations: 107.6 kB / 1.213 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.685e-05/0.5421, allocations: 31.92 kB / 1.213 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.5421, allocations: 3.984 kB / 1.213 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.5422, allocations: 15.92 kB / 1.213 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.785e-05/0.5423, allocations: 19.92 kB / 1.213 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.5423, allocations: 0 / 1.213 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.5426, allocations: 83.72 kB / 1.213 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.5426, allocations: 11.98 kB / 1.213 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.5427, allocations: 15.92 kB / 1.213 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.5429, allocations: 60.2 kB / 1.213 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.5429, allocations: 7.984 kB / 1.213 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5429, allocations: 0 / 1.213 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5429, allocations: 0 / 1.213 GB, free: 5.59 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.0003944/0.5433, allocations: 335.5 kB / 1.213 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.5433, allocations: 8.031 kB / 1.213 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.5436, allocations: 28.83 kB / 1.213 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.5437, allocations: 160.4 kB / 1.214 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.165e-05/0.5438, allocations: 33.64 kB / 1.214 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.5438, allocations: 7.922 kB / 1.214 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.544, allocations: 45.67 kB / 1.214 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.544, allocations: 4 kB / 1.214 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.544, allocations: 0 / 1.214 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.544, allocations: 4 kB / 1.214 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.396e-05/0.5441, allocations: 19.98 kB / 1.214 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.5445, allocations: 264.8 kB / 1.214 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.969e-05/0.5445, allocations: 18.52 kB / 1.214 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.5446, allocations: 8.922 kB / 1.214 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.5446, allocations: 0 / 1.214 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.5446, allocations: 34.56 kB / 1.214 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5446, allocations: 0 / 1.214 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.000148/0.5448, allocations: 37.69 kB / 1.214 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.5448, allocations: 59.34 kB / 1.214 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.5449, allocations: 117.7 kB / 1.214 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.545, allocations: 25.7 kB / 1.214 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.545, allocations: 84.05 kB / 1.214 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-06/0.545, allocations: 4.125 kB / 1.214 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.5451, allocations: 17.72 kB / 1.214 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5452, allocations: 314.8 kB / 1.215 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.5452, allocations: 7.984 kB / 1.215 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.5453, allocations: 22.58 kB / 1.215 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.5453, allocations: 34.52 kB / 1.215 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.5453, allocations: 4 kB / 1.215 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.112e-05/0.5454, allocations: 57.53 kB / 1.215 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5454, allocations: 4 kB / 1.215 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5454, allocations: 0 / 1.215 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5455, allocations: 0 / 1.215 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.5455, allocations: 11.98 kB / 1.215 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.5456, allocations: 11.86 kB / 1.215 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.5456, allocations: 8.094 kB / 1.215 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.5456, allocations: 0 / 1.215 GB, free: 3.586 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.572e-05/0.5457, allocations: 119.3 kB / 1.215 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.5457, allocations: 0 / 1.215 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.5458, allocations: 3.125 kB / 1.215 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5458, allocations: 0 / 1.215 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5458, allocations: 3.938 kB / 1.215 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5458, allocations: 7.984 kB / 1.215 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.5461, allocations: 346.7 kB / 1.215 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5461, allocations: 0 / 1.215 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/0.5461, allocations: 0 / 1.215 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.5461, allocations: 3.938 kB / 1.215 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.5461, allocations: 0 / 1.215 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5461, allocations: 0 / 1.215 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5461, allocations: 4 kB / 1.215 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.989e-05/0.5462, allocations: 65.09 kB / 1.215 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.5463, allocations: 81.05 kB / 1.215 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.5463, allocations: 7.938 kB / 1.215 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.5464, allocations: 0 / 1.215 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.5464, allocations: 3.984 kB / 1.215 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5464, allocations: 4 kB / 1.215 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.14e-05/0.5465, allocations: 87.53 kB / 1.215 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5465, allocations: 0 / 1.215 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001972/0.5467, allocations: 4 kB / 1.215 GB, free: 2.754 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.0001046/0.5468, allocations: 103.8 kB / 1.216 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.815e-05/0.5469, allocations: 15.98 kB / 1.216 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5469, allocations: 0 / 1.216 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.047e-06/0.5469, allocations: 7.938 kB / 1.216 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.5471, allocations: 2.281 kB / 1.216 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.5474, allocations: 115 kB / 1.216 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.5477, allocations: 0.6806 MB / 1.216 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.992e-05/0.5478, allocations: 8.078 kB / 1.216 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.5478, allocations: 7.438 kB / 1.216 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.5478, allocations: 0 / 1.216 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of Templates: time 0.002593/0.5504, allocations: 0.5069 MB / 1.217 GB, free: 1.289 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) 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) Reference file matches