Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [: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.936/1.936, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001051/0.001051, allocations: 173.3 kB / 487 MB, free: 5.352 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.312/1.312, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.0009746/0.000975, allocations: 104.6 kB / 0.9213 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.482e-06/6.512e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2487, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9854/1.234, allocations: 455.2 MB / 1.65 GB, free: 1.27 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/1.234, allocations: 74.69 kB / 1.65 GB, free: 1.234 MB / 1.073 GB Notification: Performance of FrontEnd: time 0.05177/1.286, allocations: 22.84 MB / 1.672 GB, free: 14.79 MB / 1.104 GB Notification: Performance of Transformations before backend: time 8.216e-06/1.286, allocations: 0 / 1.672 GB, free: 14.79 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005014/1.287, allocations: 350.1 kB / 1.672 GB, free: 14.41 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/1.287, allocations: 8.031 kB / 1.672 GB, free: 14.4 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/1.287, allocations: 7.984 kB / 1.672 GB, free: 14.39 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/1.287, allocations: 171 kB / 1.673 GB, free: 14.18 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/1.287, allocations: 25.7 kB / 1.673 GB, free: 14.15 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/1.287, allocations: 0 / 1.673 GB, free: 14.15 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.412e-05/1.287, allocations: 15.67 kB / 1.673 GB, free: 14.14 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.224e-05/1.287, allocations: 45.61 kB / 1.673 GB, free: 14.09 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/1.287, allocations: 0 / 1.673 GB, free: 14.09 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/1.287, allocations: 4 kB / 1.673 GB, free: 14.09 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/1.287, allocations: 0 / 1.673 GB, free: 14.09 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000824/1.288, allocations: 0.5902 MB / 1.673 GB, free: 13.4 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 4.321e-05/1.288, allocations: 18.58 kB / 1.673 GB, free: 13.37 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/1.288, allocations: 4.859 kB / 1.673 GB, free: 13.36 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004157/1.289, allocations: 0.4978 MB / 1.674 GB, free: 12.76 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.289, allocations: 34.5 kB / 1.674 GB, free: 12.72 MB / 1.104 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/1.289, allocations: 4 kB / 1.674 GB, free: 12.71 MB / 1.104 GB Notification: Performance of matching and sorting (n=1): time 0.0003049/1.289, allocations: 41.59 kB / 1.674 GB, free: 12.67 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/1.289, allocations: 51.41 kB / 1.674 GB, free: 12.61 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/1.289, allocations: 96.61 kB / 1.674 GB, free: 12.51 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/1.289, allocations: 25.7 kB / 1.674 GB, free: 12.48 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/1.289, allocations: 91.98 kB / 1.674 GB, free: 12.38 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-06/1.289, allocations: 7.719 kB / 1.674 GB, free: 12.38 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/1.289, allocations: 0 / 1.674 GB, free: 12.38 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.289, allocations: 314.8 kB / 1.674 GB, free: 12.06 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/1.29, allocations: 7.984 kB / 1.674 GB, free: 12.05 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/1.29, allocations: 13.72 kB / 1.674 GB, free: 12.04 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/1.29, allocations: 19.48 kB / 1.674 GB, free: 12.02 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.29, allocations: 0 / 1.674 GB, free: 12.02 MB / 1.104 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002542/1.29, allocations: 69.11 kB / 1.675 GB, free: 11.95 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.29, allocations: 4 kB / 1.675 GB, free: 11.95 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.29, allocations: 7.984 kB / 1.675 GB, free: 11.94 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.29, allocations: 0 / 1.675 GB, free: 11.94 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.294e-05/1.29, allocations: 7.984 kB / 1.675 GB, free: 11.93 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/1.29, allocations: 0 / 1.675 GB, free: 11.93 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/1.29, allocations: 3.906 kB / 1.675 GB, free: 11.93 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/1.29, allocations: 4 kB / 1.675 GB, free: 11.92 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.775e-05/1.29, allocations: 107.8 kB / 1.675 GB, free: 11.81 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/1.29, allocations: 4 kB / 1.675 GB, free: 11.81 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/1.291, allocations: 116.9 kB / 1.675 GB, free: 11.69 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.2e-05/1.291, allocations: 184.2 kB / 1.675 GB, free: 11.5 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-05/1.291, allocations: 183.8 kB / 1.675 GB, free: 11.32 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.389e-05/1.291, allocations: 180.3 kB / 1.675 GB, free: 11.13 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/1.291, allocations: 381.8 kB / 1.676 GB, free: 10.71 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.74e-05/1.291, allocations: 104.9 kB / 1.676 GB, free: 10.61 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/1.291, allocations: 101 kB / 1.676 GB, free: 10.5 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.106e-05/1.291, allocations: 183.9 kB / 1.676 GB, free: 10.32 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.657e-05/1.291, allocations: 184.2 kB / 1.676 GB, free: 10.13 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.211e-05/1.291, allocations: 180.3 kB / 1.676 GB, free: 9.945 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.039e-05/1.292, allocations: 176.3 kB / 1.677 GB, free: 9.766 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001706/1.292, allocations: 315.2 kB / 1.677 GB, free: 9.438 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/1.292, allocations: 187.3 kB / 1.677 GB, free: 9.23 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-05/1.292, allocations: 188.2 kB / 1.677 GB, free: 9.039 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/1.292, allocations: 112.9 kB / 1.677 GB, free: 8.922 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/1.292, allocations: 176.3 kB / 1.677 GB, free: 8.742 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/1.292, allocations: 104.9 kB / 1.678 GB, free: 8.633 MB / 1.104 GB Notification: Performance of sort global known variables: time 4.384e-05/1.292, allocations: 82.97 kB / 1.678 GB, free: 8.555 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0004224/1.293, allocations: 83.22 kB / 1.678 GB, free: 8.492 MB / 1.104 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 (0): * Single equations (assignments): 0 * 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.0009898/1.294, allocations: 0.738 MB / 1.678 GB, free: 7.762 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 6.335e-05/1.294, allocations: 9.75 kB / 1.678 GB, free: 7.754 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.294, allocations: 0 / 1.678 GB, free: 7.754 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/1.294, allocations: 0 / 1.678 GB, free: 7.754 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/1.294, allocations: 0.5204 MB / 1.679 GB, free: 7.23 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/1.294, allocations: 138.8 kB / 1.679 GB, free: 7.074 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/1.295, allocations: 0.6849 MB / 1.68 GB, free: 6.363 MB / 1.104 GB Notification: Performance of SimCode: time 3.61e-07/1.295, allocations: 4 kB / 1.68 GB, free: 6.359 MB / 1.104 GB Notification: Performance of Templates: time 0.008016/1.303, allocations: 3.886 MB / 1.684 GB, free: 2.477 MB / 1.104 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches