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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.912/1.912, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 177.3 kB / 487 MB, free: 5.348 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 221.3 MB / 0.7819 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009835/0.0009835, allocations: 94 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.461e-06/5.481e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2615, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.598/7.86, allocations: 4.407 GB / 5.612 GB, free: 134.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/7.86, allocations: 79.95 kB / 5.612 GB, free: 134.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.07951/7.94, allocations: 46.41 MB / 5.658 GB, free: 87.47 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.496e-06/7.94, allocations: 8 kB / 5.658 GB, free: 87.46 MB / 1.151 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.0002275/7.94, allocations: 326.4 kB / 5.658 GB, free: 87.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/7.94, allocations: 8.031 kB / 5.658 GB, free: 87.09 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/7.94, allocations: 27.88 kB / 5.658 GB, free: 87.07 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.908e-05/7.94, allocations: 159.1 kB / 5.658 GB, free: 86.87 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/7.94, allocations: 25.7 kB / 5.658 GB, free: 86.84 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/7.94, allocations: 0 / 5.658 GB, free: 86.84 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.523e-05/7.941, allocations: 31.92 kB / 5.658 GB, free: 86.81 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.85e-05/7.941, allocations: 41.69 kB / 5.658 GB, free: 86.76 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/7.941, allocations: 0 / 5.658 GB, free: 86.76 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/7.941, allocations: 0 / 5.658 GB, free: 86.76 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/7.941, allocations: 15.83 kB / 5.658 GB, free: 86.75 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/7.941, allocations: 229.5 kB / 5.659 GB, free: 86.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 2.936e-05/7.941, allocations: 22.48 kB / 5.659 GB, free: 86.45 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/7.941, allocations: 9.234 kB / 5.659 GB, free: 86.44 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/7.941, allocations: 0 / 5.659 GB, free: 86.44 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/7.941, allocations: 38.53 kB / 5.659 GB, free: 86.39 MB / 1.151 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/7.941, allocations: 0 / 5.659 GB, free: 86.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=1): time 0.0001168/7.941, allocations: 29.7 kB / 5.659 GB, free: 86.36 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/7.941, allocations: 51.44 kB / 5.659 GB, free: 86.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.314e-05/7.941, allocations: 104.9 kB / 5.659 GB, free: 86.19 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/7.941, allocations: 25.7 kB / 5.659 GB, free: 86.16 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/7.941, allocations: 95.94 kB / 5.659 GB, free: 86.06 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-06/7.941, allocations: 4 kB / 5.659 GB, free: 86.05 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/7.941, allocations: 0 / 5.659 GB, free: 86.05 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.193e-05/7.941, allocations: 310.8 kB / 5.659 GB, free: 85.74 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/7.941, allocations: 4 kB / 5.659 GB, free: 85.74 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.064e-05/7.941, allocations: 34.56 kB / 5.659 GB, free: 85.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.801e-05/7.942, allocations: 15.86 kB / 5.659 GB, free: 85.68 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/7.942, allocations: 0 / 5.659 GB, free: 85.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.145e-05/7.942, allocations: 53.59 kB / 5.659 GB, free: 85.62 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/7.942, allocations: 4 kB / 5.659 GB, free: 85.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/7.942, allocations: 3.984 kB / 5.659 GB, free: 85.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/7.942, allocations: 0 / 5.659 GB, free: 85.61 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/7.942, allocations: 16.03 kB / 5.659 GB, free: 85.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/7.942, allocations: 0 / 5.659 GB, free: 85.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.749e-05/7.942, allocations: 4 kB / 5.659 GB, free: 85.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/7.942, allocations: 0 / 5.659 GB, free: 85.59 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/7.942, allocations: 104.9 kB / 5.66 GB, free: 85.48 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/7.942, allocations: 4 kB / 5.66 GB, free: 85.48 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/7.942, allocations: 3.156 kB / 5.66 GB, free: 85.48 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/7.942, allocations: 0 / 5.66 GB, free: 85.48 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/7.942, allocations: 3.984 kB / 5.66 GB, free: 85.48 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/7.942, allocations: 7.906 kB / 5.66 GB, free: 85.47 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/7.942, allocations: 323.5 kB / 5.66 GB, free: 85.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/7.942, allocations: 3.938 kB / 5.66 GB, free: 85.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/7.942, allocations: 8 kB / 5.66 GB, free: 85.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/7.942, allocations: 0 / 5.66 GB, free: 85.09 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/7.942, allocations: 0 / 5.66 GB, free: 85.09 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/7.942, allocations: 3.906 kB / 5.66 GB, free: 85.09 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/7.942, allocations: 0 / 5.66 GB, free: 85.09 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.277e-05/7.942, allocations: 65.16 kB / 5.66 GB, free: 85.01 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/7.942, allocations: 81.02 kB / 5.66 GB, free: 84.91 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/7.942, allocations: 0 / 5.66 GB, free: 84.91 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/7.942, allocations: 4 kB / 5.66 GB, free: 84.91 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-06/7.942, allocations: 0 / 5.66 GB, free: 84.91 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-06/7.942, allocations: 0 / 5.66 GB, free: 84.91 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.192e-05/7.942, allocations: 83.3 kB / 5.66 GB, free: 84.82 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002461/7.943, allocations: 36 kB / 5.66 GB, free: 84.79 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005884/7.943, allocations: 0.674 MB / 5.661 GB, free: 84.12 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 6.548e-05/7.943, allocations: 11.94 kB / 5.661 GB, free: 84.11 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/7.943, allocations: 4.188 kB / 5.661 GB, free: 84.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.466e-06/7.943, allocations: 0 / 5.661 GB, free: 84.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/7.943, allocations: 4 kB / 5.661 GB, free: 84.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001454/7.944, allocations: 62.92 kB / 5.661 GB, free: 84.02 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/7.944, allocations: 0.688 MB / 5.662 GB, free: 83.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.6e-07/7.944, allocations: 3.938 kB / 5.662 GB, free: 83.3 MB / 1.151 GB Notification: Performance of Templates: time 0.005818/7.949, allocations: 3.815 MB / 5.665 GB, free: 79.49 MB / 1.151 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","../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches