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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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") [: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 10.0.0-master/package.mo): time 2.005/2.005, allocations: 390.4 MB / 397.7 MB, free: 11.32 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.001261/0.001261, allocations: 181.2 kB / 490.8 MB, free: 2 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.535/1.535, allocations: 221.3 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009152/0.0009149, allocations: 99.09 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.765e-06/7.785e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3215, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.175/8.497, allocations: 4.408 GB / 5.62 GB, free: 107.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/8.497, allocations: 83.8 kB / 5.62 GB, free: 107.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.0826/8.58, allocations: 46.42 MB / 5.665 GB, free: 60.75 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.018e-05/8.58, allocations: 3.938 kB / 5.665 GB, free: 60.74 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.0003584/8.58, allocations: 334.4 kB / 5.665 GB, free: 60.37 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/8.58, allocations: 8.031 kB / 5.665 GB, free: 60.36 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/8.581, allocations: 15.98 kB / 5.665 GB, free: 60.35 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/8.581, allocations: 171 kB / 5.665 GB, free: 60.14 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/8.581, allocations: 29.7 kB / 5.665 GB, free: 60.11 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/8.581, allocations: 0 / 5.665 GB, free: 60.11 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001047/8.581, allocations: 19.98 kB / 5.665 GB, free: 60.09 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.576e-05/8.581, allocations: 41.69 kB / 5.666 GB, free: 60.04 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/8.581, allocations: 3.938 kB / 5.666 GB, free: 60.04 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/8.581, allocations: 0 / 5.666 GB, free: 60.04 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/8.581, allocations: 0 / 5.666 GB, free: 60.04 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/8.581, allocations: 249.4 kB / 5.666 GB, free: 59.75 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 4.585e-05/8.582, allocations: 14.58 kB / 5.666 GB, free: 59.73 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/8.582, allocations: 5.172 kB / 5.666 GB, free: 59.72 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/8.582, allocations: 3.906 kB / 5.666 GB, free: 59.72 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/8.582, allocations: 34.62 kB / 5.666 GB, free: 59.68 MB / 1.151 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/8.582, allocations: 0 / 5.666 GB, free: 59.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=1): time 0.000148/8.582, allocations: 37.64 kB / 5.666 GB, free: 59.63 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/8.582, allocations: 55.44 kB / 5.666 GB, free: 59.57 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.17e-05/8.582, allocations: 104.9 kB / 5.666 GB, free: 59.46 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/8.582, allocations: 25.7 kB / 5.666 GB, free: 59.43 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/8.582, allocations: 87.95 kB / 5.666 GB, free: 59.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-06/8.582, allocations: 0 / 5.666 GB, free: 59.34 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/8.582, allocations: 0 / 5.666 GB, free: 59.34 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.624e-05/8.582, allocations: 314.8 kB / 5.666 GB, free: 59.02 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/8.582, allocations: 11.92 kB / 5.666 GB, free: 59.01 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.166e-05/8.582, allocations: 26.58 kB / 5.666 GB, free: 58.97 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/8.582, allocations: 8 kB / 5.666 GB, free: 58.96 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/8.582, allocations: 0 / 5.666 GB, free: 58.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.139e-05/8.582, allocations: 53.53 kB / 5.667 GB, free: 58.91 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/8.582, allocations: 8 kB / 5.667 GB, free: 58.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/8.582, allocations: 0 / 5.667 GB, free: 58.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/8.582, allocations: 4.188 kB / 5.667 GB, free: 58.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/8.582, allocations: 11.98 kB / 5.667 GB, free: 58.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/8.582, allocations: 3.938 kB / 5.667 GB, free: 58.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/8.582, allocations: 3.984 kB / 5.667 GB, free: 58.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/8.582, allocations: 4 kB / 5.667 GB, free: 58.87 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 5.988e-05/8.582, allocations: 108.8 kB / 5.667 GB, free: 58.76 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/8.583, allocations: 0 / 5.667 GB, free: 58.76 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/8.583, allocations: 11.16 kB / 5.667 GB, free: 58.75 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/8.583, allocations: 0 / 5.667 GB, free: 58.75 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/8.583, allocations: 4 kB / 5.667 GB, free: 58.75 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/8.583, allocations: 0 / 5.667 GB, free: 58.75 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/8.583, allocations: 319.3 kB / 5.667 GB, free: 58.39 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/8.583, allocations: 0 / 5.667 GB, free: 58.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/8.583, allocations: 3.984 kB / 5.667 GB, free: 58.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/8.583, allocations: 0 / 5.667 GB, free: 58.38 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/8.583, allocations: 0 / 5.667 GB, free: 58.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/8.583, allocations: 4 kB / 5.667 GB, free: 58.38 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/8.583, allocations: 0 / 5.667 GB, free: 58.38 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.202e-05/8.583, allocations: 65.02 kB / 5.667 GB, free: 58.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/8.583, allocations: 81.02 kB / 5.667 GB, free: 58.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/8.583, allocations: 4 kB / 5.667 GB, free: 58.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/8.583, allocations: 3.984 kB / 5.667 GB, free: 58.19 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/8.583, allocations: 4 kB / 5.667 GB, free: 58.19 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/8.583, allocations: 256 / 5.667 GB, free: 58.19 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.74e-05/8.583, allocations: 91.31 kB / 5.667 GB, free: 58.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000279/8.583, allocations: 35.98 kB / 5.667 GB, free: 58.06 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.0007448/8.584, allocations: 0.6662 MB / 5.668 GB, free: 57.39 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 7.31e-05/8.584, allocations: 15.94 kB / 5.668 GB, free: 57.38 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/8.584, allocations: 0 / 5.668 GB, free: 57.38 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-06/8.584, allocations: 4 kB / 5.668 GB, free: 57.38 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/8.584, allocations: 11.98 kB / 5.668 GB, free: 57.36 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001677/8.585, allocations: 43.94 kB / 5.668 GB, free: 57.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/8.585, allocations: 0.6918 MB / 5.669 GB, free: 56.58 MB / 1.151 GB Notification: Performance of SimCode: time 7.62e-07/8.585, allocations: 0 / 5.669 GB, free: 56.58 MB / 1.151 GB Notification: Performance of Templates: time 0.006129/8.591, allocations: 3.827 MB / 5.672 GB, free: 52.79 MB / 1.151 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","../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches