Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [: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.954/1.954, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001318/0.001318, allocations: 180.7 kB / 487 MB, free: 5.383 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.3/1.3, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.0009304/0.0009305, allocations: 91.31 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.282e-06/6.302e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2675, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.592/1.859, allocations: 0.6891 GB / 1.894 GB, free: 272.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/1.859, allocations: 73.92 kB / 1.894 GB, free: 272.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1417/2.001, allocations: 63.97 MB / 1.957 GB, free: 218 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.097e-06/2.001, allocations: 4 kB / 1.957 GB, free: 218 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00197/2.003, allocations: 496.4 kB / 1.957 GB, free: 217.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/2.003, allocations: 9.031 kB / 1.957 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/2.004, allocations: 27.88 kB / 1.957 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.31e-05/2.004, allocations: 167 kB / 1.958 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/2.004, allocations: 29.7 kB / 1.958 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/2.004, allocations: 4 kB / 1.958 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001831/2.004, allocations: 89.06 kB / 1.958 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/2.004, allocations: 72.92 kB / 1.958 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/2.004, allocations: 11.92 kB / 1.958 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/2.004, allocations: 3.906 kB / 1.958 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/2.004, allocations: 4 kB / 1.958 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/2.005, allocations: 299.6 kB / 1.958 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/2.005, allocations: 105 kB / 1.958 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/2.005, allocations: 48.22 kB / 1.958 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/2.015, allocations: 4.137 MB / 1.962 GB, free: 212.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/2.015, allocations: 34.81 kB / 1.962 GB, free: 212.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=13): time 2.053e-06/2.015, allocations: 0 / 1.962 GB, free: 212.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=13): time 0.0004396/2.015, allocations: 125.2 kB / 1.962 GB, free: 212.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/2.015, allocations: 51.41 kB / 1.962 GB, free: 212 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.054e-05/2.015, allocations: 93 kB / 1.962 GB, free: 211.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/2.015, allocations: 25.7 kB / 1.963 GB, free: 211.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.216e-05/2.016, allocations: 91.78 kB / 1.963 GB, free: 211.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/2.016, allocations: 35.48 kB / 1.963 GB, free: 211.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/2.016, allocations: 0 / 1.963 GB, free: 211.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.164e-05/2.016, allocations: 314.8 kB / 1.963 GB, free: 211.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/2.016, allocations: 23.31 kB / 1.963 GB, free: 211.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/2.016, allocations: 26.88 kB / 1.963 GB, free: 211.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/2.016, allocations: 36.38 kB / 1.963 GB, free: 211.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/2.016, allocations: 4 kB / 1.963 GB, free: 211.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002766/2.016, allocations: 114.7 kB / 1.963 GB, free: 211.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/2.016, allocations: 7.984 kB / 1.963 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/2.016, allocations: 0 / 1.963 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/2.016, allocations: 3.906 kB / 1.963 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/2.016, allocations: 23.98 kB / 1.963 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/2.016, allocations: 0 / 1.963 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/2.016, allocations: 7.438 kB / 1.963 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/2.016, allocations: 4 kB / 1.963 GB, free: 211.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.092e-05/2.016, allocations: 112.8 kB / 1.963 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/2.017, allocations: 23.47 kB / 1.963 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/2.017, allocations: 387 kB / 1.964 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/2.017, allocations: 7.984 kB / 1.964 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/2.017, allocations: 4 kB / 1.964 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/2.017, allocations: 0 / 1.964 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/2.017, allocations: 235.7 kB / 1.964 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/2.017, allocations: 0 / 1.964 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.734e-05/2.017, allocations: 27.92 kB / 1.964 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/2.017, allocations: 192 / 1.964 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/2.017, allocations: 7.672 kB / 1.964 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/2.017, allocations: 3.938 kB / 1.964 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/2.017, allocations: 4 kB / 1.964 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000412/2.018, allocations: 419.7 kB / 1.964 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/2.018, allocations: 100.4 kB / 1.964 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/2.018, allocations: 7.984 kB / 1.964 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/2.018, allocations: 3.906 kB / 1.964 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/2.018, allocations: 11.36 kB / 1.964 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/2.018, allocations: 4 kB / 1.964 GB, free: 210.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.748e-05/2.018, allocations: 87.2 kB / 1.965 GB, free: 210 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001491/2.02, allocations: 343.4 kB / 1.965 GB, free: 209.7 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: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001729/2.021, allocations: 0.9355 MB / 1.966 GB, free: 208.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001831/2.022, allocations: 163.5 kB / 1.966 GB, free: 208.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/2.022, allocations: 0 / 1.966 GB, free: 208.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/2.022, allocations: 161 kB / 1.966 GB, free: 208.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/2.022, allocations: 11.98 kB / 1.966 GB, free: 208.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/2.022, allocations: 258.2 kB / 1.966 GB, free: 208.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/2.022, allocations: 0.7473 MB / 1.967 GB, free: 207.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/2.022, allocations: 0 / 1.967 GB, free: 207.6 MB / 1.151 GB Notification: Performance of Templates: time 0.01555/2.038, allocations: 13 MB / 1.98 GB, free: 194.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","../files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches