Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001531/0.001531, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001618/0.001618, allocations: 188.1 kB / 16.25 MB, free: 6.637 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.424/1.424, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.761/2.761, allocations: 469.8 MB / 0.742 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 65.11 kB / 0.908 GB, free: 34.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3122, allocations: 159.1 MB / 1.063 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1846/0.4969, allocations: 145.7 MB / 1.206 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001612/0.4971, allocations: 59.84 kB / 1.206 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.4971, allocations: 0 / 1.206 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.4972, allocations: 3.938 kB / 1.206 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.105e-05/0.4974, allocations: 15.97 kB / 1.206 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.4978, allocations: 101 kB / 1.206 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.543e-05/0.4979, allocations: 31.91 kB / 1.206 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.498, allocations: 4 kB / 1.206 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.498, allocations: 15.92 kB / 1.206 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.4981, allocations: 15.92 kB / 1.206 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.4981, allocations: 0 / 1.206 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.4984, allocations: 83.78 kB / 1.206 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.4985, allocations: 11.98 kB / 1.206 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.4985, allocations: 15.94 kB / 1.206 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.4987, allocations: 68.11 kB / 1.206 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4987, allocations: 0 / 1.206 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4987, allocations: 0 / 1.206 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.4987, allocations: 0 / 1.206 GB, free: 11.96 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.0004423/0.4992, allocations: 339.5 kB / 1.207 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.4992, allocations: 8.031 kB / 1.207 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.4994, allocations: 24.91 kB / 1.207 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.4996, allocations: 168.2 kB / 1.207 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/0.4997, allocations: 37.64 kB / 1.207 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.4997, allocations: 0 / 1.207 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.4998, allocations: 41.69 kB / 1.207 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4999, allocations: 3.984 kB / 1.207 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4999, allocations: 4 kB / 1.207 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.4999, allocations: 3.938 kB / 1.207 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.5, allocations: 23.98 kB / 1.207 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.5004, allocations: 252.8 kB / 1.207 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.375e-05/0.5005, allocations: 26.55 kB / 1.207 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.5005, allocations: 8.922 kB / 1.207 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-06/0.5005, allocations: 0 / 1.207 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.5005, allocations: 38.5 kB / 1.207 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5006, allocations: 0 / 1.207 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.5007, allocations: 29.7 kB / 1.207 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.5007, allocations: 59.34 kB / 1.207 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.5008, allocations: 109.8 kB / 1.207 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.5009, allocations: 29.7 kB / 1.207 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.5009, allocations: 87.95 kB / 1.207 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-06/0.5009, allocations: 3.984 kB / 1.207 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.501, allocations: 25.83 kB / 1.207 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5011, allocations: 314.8 kB / 1.208 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.5011, allocations: 0 / 1.208 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.5012, allocations: 30.56 kB / 1.208 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.643e-05/0.5012, allocations: 34.52 kB / 1.208 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5012, allocations: 0 / 1.208 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.382e-05/0.5013, allocations: 57.53 kB / 1.208 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5014, allocations: 6.031 kB / 1.208 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5014, allocations: 0 / 1.208 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5014, allocations: 4 kB / 1.208 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.806e-05/0.5015, allocations: 4 kB / 1.208 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.5015, allocations: 7.875 kB / 1.208 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.5015, allocations: 4 kB / 1.208 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.5015, allocations: 4.094 kB / 1.208 GB, free: 9.957 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.699e-05/0.5016, allocations: 121.7 kB / 1.208 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.5017, allocations: 0 / 1.208 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/0.5017, allocations: 7.125 kB / 1.208 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5017, allocations: 96 / 1.208 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5017, allocations: 7.938 kB / 1.208 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5017, allocations: 3.984 kB / 1.208 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.502, allocations: 342.8 kB / 1.208 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.502, allocations: 0 / 1.208 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.502, allocations: 7.922 kB / 1.208 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.5021, allocations: 3.938 kB / 1.208 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.5021, allocations: 0 / 1.208 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5021, allocations: 4 kB / 1.208 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5021, allocations: 0 / 1.208 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.173e-05/0.5022, allocations: 57.17 kB / 1.208 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.5022, allocations: 88.95 kB / 1.209 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.5022, allocations: 3.984 kB / 1.209 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.5023, allocations: 0 / 1.209 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-06/0.5023, allocations: 3.938 kB / 1.209 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.5024, allocations: 4.25 kB / 1.209 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.5024, allocations: 87.28 kB / 1.209 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5024, allocations: 0 / 1.209 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001884/0.5026, allocations: 7.984 kB / 1.209 GB, free: 9.117 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.0001153/0.5027, allocations: 103.3 kB / 1.209 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.956e-05/0.5028, allocations: 11.94 kB / 1.209 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5028, allocations: 0 / 1.209 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-06/0.5028, allocations: 8 kB / 1.209 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.5031, allocations: 11.64 kB / 1.209 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.5034, allocations: 114.8 kB / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.5037, allocations: 0.6768 MB / 1.21 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.488e-05/0.5038, allocations: 7.984 kB / 1.21 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.5038, allocations: 7.438 kB / 1.21 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.5038, allocations: 0 / 1.21 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of Templates: time 0.003214/0.507, allocations: 0.5033 MB / 1.21 GB, free: 7.633 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches