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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001651/0.001651, allocations: 100.1 kB / 15.88 MB, free: 12 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.001995/0.001995, allocations: 196.7 kB / 16.79 MB, free: 6.828 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.64/2.64, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 68.47 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3063, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1553/0.4616, allocations: 145.6 MB / 1.195 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001477/0.4618, allocations: 51.84 kB / 1.195 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.4619, allocations: 4 kB / 1.195 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.462, allocations: 3.938 kB / 1.195 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.4621, allocations: 11.92 kB / 1.195 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.4626, allocations: 103.7 kB / 1.195 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.4627, allocations: 55.86 kB / 1.195 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.4627, allocations: 4 kB / 1.195 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.4628, allocations: 15.94 kB / 1.195 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.115e-05/0.4629, allocations: 19.91 kB / 1.195 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.4629, allocations: 0 / 1.195 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.4632, allocations: 71.8 kB / 1.195 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.4633, allocations: 19.97 kB / 1.195 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.4633, allocations: 15.88 kB / 1.195 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.4634, allocations: 40.22 kB / 1.195 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4634, allocations: 4 kB / 1.195 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4635, allocations: 0 / 1.195 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.4635, allocations: 0 / 1.195 GB, free: 5.746 MB / 0.9512 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.0004095/0.4639, allocations: 343.5 kB / 1.196 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4639, allocations: 11.97 kB / 1.196 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.4642, allocations: 20.92 kB / 1.196 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.4643, allocations: 160.4 kB / 1.196 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.754e-05/0.4644, allocations: 33.64 kB / 1.196 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.4644, allocations: 0 / 1.196 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.4645, allocations: 49.67 kB / 1.196 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4645, allocations: 0 / 1.196 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.4645, allocations: 0 / 1.196 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.4646, allocations: 3.984 kB / 1.196 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.741e-05/0.4646, allocations: 27.92 kB / 1.196 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.465, allocations: 264.8 kB / 1.196 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.599e-05/0.4651, allocations: 14.58 kB / 1.196 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.4651, allocations: 8.922 kB / 1.196 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-06/0.4651, allocations: 0 / 1.196 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.4651, allocations: 34.56 kB / 1.196 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.4651, allocations: 0 / 1.196 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001308/0.4653, allocations: 41.64 kB / 1.196 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.4653, allocations: 59.33 kB / 1.196 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.4654, allocations: 105.8 kB / 1.196 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.4654, allocations: 25.7 kB / 1.196 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.4655, allocations: 91.94 kB / 1.197 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.4655, allocations: 4 kB / 1.197 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.4656, allocations: 21.84 kB / 1.197 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.4657, allocations: 314.8 kB / 1.197 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.4657, allocations: 3.984 kB / 1.197 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.818e-05/0.4657, allocations: 26.58 kB / 1.197 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.4658, allocations: 34.52 kB / 1.197 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4658, allocations: 3.938 kB / 1.197 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.234e-05/0.4659, allocations: 53.62 kB / 1.197 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.4659, allocations: 4 kB / 1.197 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4659, allocations: 0 / 1.197 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.4659, allocations: 4 kB / 1.197 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.466, allocations: 7.984 kB / 1.197 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.466, allocations: 3.938 kB / 1.197 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.4661, allocations: 8 kB / 1.197 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.4661, allocations: 4 kB / 1.197 GB, free: 3.746 MB / 0.9512 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 7.525e-05/0.4662, allocations: 121.7 kB / 1.197 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.4662, allocations: 0 / 1.197 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.576e-05/0.4662, allocations: 3.125 kB / 1.197 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4662, allocations: 0 / 1.197 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4662, allocations: 8.188 kB / 1.197 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.4662, allocations: 0 / 1.197 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.4666, allocations: 350.8 kB / 1.197 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4666, allocations: 0 / 1.197 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/0.4666, allocations: 0 / 1.197 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.4666, allocations: 3.938 kB / 1.197 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.4666, allocations: 0 / 1.197 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4666, allocations: 4 kB / 1.197 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4666, allocations: 3.938 kB / 1.197 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.846e-05/0.4667, allocations: 61.16 kB / 1.198 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.4668, allocations: 88.95 kB / 1.198 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.4668, allocations: 0 / 1.198 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.4669, allocations: 0 / 1.198 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.4669, allocations: 4 kB / 1.198 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.4669, allocations: 3.938 kB / 1.198 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.4669, allocations: 87.27 kB / 1.198 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4669, allocations: 0 / 1.198 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001946/0.4671, allocations: 8 kB / 1.198 GB, free: 2.91 MB / 0.9512 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.0001007/0.4673, allocations: 99.28 kB / 1.198 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.48e-05/0.4673, allocations: 19.92 kB / 1.198 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4673, allocations: 0 / 1.198 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.4674, allocations: 4 kB / 1.198 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.4676, allocations: 4 kB / 1.198 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.4679, allocations: 146.3 kB / 1.198 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.4682, allocations: 0.6809 MB / 1.199 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.4682, allocations: 7.438 kB / 1.199 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.4682, allocations: 0 / 1.199 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of Templates: time 0.002027/0.4702, allocations: 0.5585 MB / 1.199 GB, free: 1.332 MB / 0.9512 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/jenkins1/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