Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.202/1.202, allocations: 249.4 MB / 256.7 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009919/0.0009919, allocations: 177.3 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.054/1.054, allocations: 205.1 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008132/0.0008132, allocations: 76.62 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.589e-06/4.609e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1477, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.785/6.933, allocations: 4.605 GB / 5.49 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/6.933, allocations: 87.88 kB / 5.49 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.07175/7.005, allocations: 44.56 MB / 5.533 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.358e-06/7.005, allocations: 0 / 5.533 GB, free: 139.3 MB / 0.8698 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.0001804/7.005, allocations: 338.3 kB / 5.534 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.406e-05/7.005, allocations: 8.031 kB / 5.534 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/7.006, allocations: 15.98 kB / 5.534 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.484e-05/7.006, allocations: 163.1 kB / 5.534 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/7.006, allocations: 37.61 kB / 5.534 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/7.006, allocations: 0 / 5.534 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.358e-05/7.006, allocations: 19.98 kB / 5.534 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.58e-05/7.006, allocations: 37.69 kB / 5.534 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/7.006, allocations: 0 / 5.534 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/7.006, allocations: 4 kB / 5.534 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/7.006, allocations: 3.938 kB / 5.534 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/7.006, allocations: 245.4 kB / 5.534 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.518e-05/7.006, allocations: 18.58 kB / 5.534 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.221e-05/7.006, allocations: 4.859 kB / 5.534 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-06/7.006, allocations: 0 / 5.534 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/7.006, allocations: 34.56 kB / 5.534 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/7.006, allocations: 0 / 5.534 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 8.569e-05/7.006, allocations: 37.67 kB / 5.534 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.606e-05/7.006, allocations: 51.41 kB / 5.534 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4e-05/7.006, allocations: 108.9 kB / 5.534 GB, free: 138 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/7.006, allocations: 25.7 kB / 5.534 GB, free: 138 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 1.976e-05/7.006, allocations: 88.05 kB / 5.534 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/7.006, allocations: 11.78 kB / 5.534 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/7.006, allocations: 0 / 5.534 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 3.561e-05/7.007, allocations: 315.2 kB / 5.535 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/7.007, allocations: 8.031 kB / 5.535 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/7.007, allocations: 22.56 kB / 5.535 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.514e-05/7.007, allocations: 8 kB / 5.535 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/7.007, allocations: 0 / 5.535 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.819e-05/7.007, allocations: 49.62 kB / 5.535 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/7.007, allocations: 4 kB / 5.535 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/7.007, allocations: 4.094 kB / 5.535 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/7.007, allocations: 4 kB / 5.535 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.86e-05/7.007, allocations: 4 kB / 5.535 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/7.007, allocations: 3.906 kB / 5.535 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/7.007, allocations: 4 kB / 5.535 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/7.007, allocations: 0 / 5.535 GB, free: 137.4 MB / 0.8698 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 3.628e-05/7.007, allocations: 109 kB / 5.535 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/7.007, allocations: 3.906 kB / 5.535 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/7.007, allocations: 15.05 kB / 5.535 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/7.007, allocations: 4 kB / 5.535 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/7.007, allocations: 0 / 5.535 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/7.007, allocations: 4 kB / 5.535 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/7.007, allocations: 319.3 kB / 5.535 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/7.007, allocations: 3.938 kB / 5.535 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.22e-05/7.007, allocations: 4 kB / 5.535 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/7.007, allocations: 0 / 5.535 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-06/7.007, allocations: 0 / 5.535 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/7.007, allocations: 4.016 kB / 5.535 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/7.007, allocations: 4.094 kB / 5.535 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 3.728e-05/7.007, allocations: 60.98 kB / 5.535 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/7.007, allocations: 81.09 kB / 5.535 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/7.007, allocations: 0 / 5.535 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/7.007, allocations: 7.984 kB / 5.535 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-06/7.007, allocations: 32 / 5.535 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-06/7.007, allocations: 4 kB / 5.535 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.16e-05/7.007, allocations: 95.44 kB / 5.535 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002113/7.008, allocations: 35.98 kB / 5.536 GB, free: 136.6 MB / 0.8698 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.0004865/7.008, allocations: 0.6598 MB / 5.536 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 4.929e-05/7.008, allocations: 16 kB / 5.536 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/7.008, allocations: 0 / 5.536 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-06/7.008, allocations: 7.938 kB / 5.536 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/7.008, allocations: 7.938 kB / 5.536 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001091/7.008, allocations: 48.06 kB / 5.536 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.746e-05/7.008, allocations: 0.688 MB / 5.537 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/7.008, allocations: 0 / 5.537 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.005117/7.014, allocations: 3.774 MB / 5.541 GB, free: 131.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches