Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.016/2.016, allocations: 390.4 MB / 397.7 MB, free: 11.3 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 / 490.8 MB, free: 1.926 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.417/1.417, allocations: 221.4 MB / 0.7863 GB, free: 13.67 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.0009513/0.0009516, allocations: 98.98 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.655e-06/7.675e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2873, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.623/1.91, allocations: 0.6899 GB / 1.901 GB, free: 308.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001699/1.91, allocations: 67.97 kB / 1.902 GB, free: 308.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1466/2.057, allocations: 63.98 MB / 1.964 GB, free: 244.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.151e-05/2.057, allocations: 4 kB / 1.964 GB, free: 244.3 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.002234/2.059, allocations: 0.494 MB / 1.964 GB, free: 243.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/2.059, allocations: 12.03 kB / 1.964 GB, free: 243.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004808/2.06, allocations: 23.97 kB / 1.965 GB, free: 243.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/2.06, allocations: 174.9 kB / 1.965 GB, free: 243.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.874e-05/2.06, allocations: 33.69 kB / 1.965 GB, free: 243.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/2.06, allocations: 3.938 kB / 1.965 GB, free: 243.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001775/2.06, allocations: 79.95 kB / 1.965 GB, free: 243.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/2.06, allocations: 73.66 kB / 1.965 GB, free: 243.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/2.06, allocations: 4 kB / 1.965 GB, free: 243.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/2.06, allocations: 0 / 1.965 GB, free: 243.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/2.06, allocations: 0 / 1.965 GB, free: 243.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/2.061, allocations: 309.2 kB / 1.965 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/2.061, allocations: 94.58 kB / 1.965 GB, free: 242.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/2.061, allocations: 48.84 kB / 1.965 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009773/2.071, allocations: 4.137 MB / 1.969 GB, free: 238.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/2.071, allocations: 34.56 kB / 1.969 GB, free: 238.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/2.071, allocations: 0 / 1.969 GB, free: 238.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=13): time 0.0004172/2.071, allocations: 122.8 kB / 1.969 GB, free: 238.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/2.071, allocations: 51.41 kB / 1.97 GB, free: 238.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/2.071, allocations: 96.98 kB / 1.97 GB, free: 238 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/2.071, allocations: 25.7 kB / 1.97 GB, free: 238 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 1.899e-05/2.071, allocations: 80.14 kB / 1.97 GB, free: 237.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/2.071, allocations: 43.5 kB / 1.97 GB, free: 237.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/2.071, allocations: 0 / 1.97 GB, free: 237.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.312e-05/2.072, allocations: 318.8 kB / 1.97 GB, free: 237.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.239e-05/2.072, allocations: 24 kB / 1.97 GB, free: 237.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/2.072, allocations: 27.98 kB / 1.97 GB, free: 237.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/2.072, allocations: 28.55 kB / 1.97 GB, free: 237.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/2.072, allocations: 4 kB / 1.97 GB, free: 237.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002944/2.072, allocations: 122.3 kB / 1.97 GB, free: 237.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/2.072, allocations: 6.969 kB / 1.97 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/2.072, allocations: 0 / 1.97 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/2.072, allocations: 3.938 kB / 1.97 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/2.072, allocations: 23.98 kB / 1.97 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/2.072, allocations: 11.83 kB / 1.97 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/2.072, allocations: 7.938 kB / 1.97 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/2.072, allocations: 4 kB / 1.97 GB, free: 237.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 4.596e-05/2.072, allocations: 101 kB / 1.97 GB, free: 237.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/2.072, allocations: 27.88 kB / 1.97 GB, free: 237.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/2.073, allocations: 398.6 kB / 1.971 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/2.073, allocations: 8 kB / 1.971 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/2.073, allocations: 0 / 1.971 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/2.073, allocations: 3.984 kB / 1.971 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/2.073, allocations: 234 kB / 1.971 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/2.073, allocations: 0 / 1.971 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.894e-05/2.073, allocations: 31.92 kB / 1.971 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/2.073, allocations: 0 / 1.971 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/2.073, allocations: 4 kB / 1.971 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/2.073, allocations: 3.984 kB / 1.971 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/2.073, allocations: 8 kB / 1.971 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004096/2.074, allocations: 411.2 kB / 1.972 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/2.074, allocations: 100.9 kB / 1.972 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/2.074, allocations: 4 kB / 1.972 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/2.074, allocations: 0 / 1.972 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/2.074, allocations: 11.89 kB / 1.972 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/2.074, allocations: 11.98 kB / 1.972 GB, free: 235.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.04e-05/2.074, allocations: 87.22 kB / 1.972 GB, free: 235.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001286/2.075, allocations: 339.8 kB / 1.972 GB, free: 235.4 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.002066/2.077, allocations: 0.9301 MB / 1.973 GB, free: 234.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001809/2.078, allocations: 167.9 kB / 1.973 GB, free: 234.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/2.078, allocations: 0 / 1.973 GB, free: 234.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/2.078, allocations: 155.9 kB / 1.973 GB, free: 234.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/2.078, allocations: 19.08 kB / 1.973 GB, free: 234.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/2.078, allocations: 256.3 kB / 1.974 GB, free: 233.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/2.078, allocations: 0.7433 MB / 1.974 GB, free: 233.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/2.078, allocations: 0 / 1.974 GB, free: 233.1 MB / 1.151 GB Notification: Performance of Templates: time 0.01664/2.095, allocations: 12.99 MB / 1.987 GB, free: 220.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches