Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamProperties.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.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamProperties") [: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.036/2.036, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001205/0.001205, allocations: 196.5 kB / 490.8 MB, free: 1.883 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.383/1.383, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0009735/0.0009734, allocations: 91.36 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.182e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2477, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9465/1.194, allocations: 460.9 MB / 1.662 GB, free: 3.73 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/1.194, allocations: 66.53 kB / 1.662 GB, free: 3.699 MB / 1.073 GB Notification: Performance of FrontEnd: time 0.9494/2.144, allocations: 188 MB / 1.845 GB, free: 346.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.563e-05/2.144, allocations: 3.469 kB / 1.845 GB, free: 346.7 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.005759/2.15, allocations: 1.225 MB / 1.847 GB, free: 345.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/2.15, allocations: 11.47 kB / 1.847 GB, free: 345.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/2.151, allocations: 92.3 kB / 1.847 GB, free: 345.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/2.151, allocations: 228.9 kB / 1.847 GB, free: 345.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/2.151, allocations: 12.59 kB / 1.847 GB, free: 345.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/2.151, allocations: 8.125 kB / 1.847 GB, free: 345.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005639/2.152, allocations: 401.7 kB / 1.847 GB, free: 345.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/2.152, allocations: 210.6 kB / 1.847 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/2.152, allocations: 0.7188 kB / 1.847 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/2.152, allocations: 0.6562 kB / 1.847 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/2.152, allocations: 7.828 kB / 1.847 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008645/2.153, allocations: 0.8678 MB / 1.848 GB, free: 344.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/2.153, allocations: 136.7 kB / 1.848 GB, free: 344.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/2.154, allocations: 63.09 kB / 1.849 GB, free: 344.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1044/2.258, allocations: 48.32 MB / 1.896 GB, free: 301.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/2.258, allocations: 38.98 kB / 1.896 GB, free: 301.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/2.258, allocations: 0 / 1.896 GB, free: 301.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.001125/2.259, allocations: 230.9 kB / 1.896 GB, free: 301.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/2.259, allocations: 55.41 kB / 1.896 GB, free: 301.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/2.259, allocations: 114 kB / 1.896 GB, free: 301.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/2.259, allocations: 25.7 kB / 1.896 GB, free: 301.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/2.259, allocations: 116.5 kB / 1.896 GB, free: 301.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/2.26, allocations: 81.72 kB / 1.896 GB, free: 301.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.709e-06/2.26, allocations: 0 / 1.896 GB, free: 301.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/2.26, allocations: 326.5 kB / 1.897 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.741e-05/2.26, allocations: 41.5 kB / 1.897 GB, free: 300.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.05e-05/2.26, allocations: 85.59 kB / 1.897 GB, free: 300.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/2.26, allocations: 72.83 kB / 1.897 GB, free: 300.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/2.26, allocations: 0 / 1.897 GB, free: 300.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008004/2.261, allocations: 258.2 kB / 1.897 GB, free: 300.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/2.261, allocations: 4.656 kB / 1.897 GB, free: 300.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/2.261, allocations: 5.688 kB / 1.897 GB, free: 300.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/2.261, allocations: 4 kB / 1.897 GB, free: 300.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/2.261, allocations: 58 kB / 1.897 GB, free: 300.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/2.261, allocations: 7.328 kB / 1.897 GB, free: 300.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/2.261, allocations: 18.42 kB / 1.897 GB, free: 300.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/2.261, allocations: 13.44 kB / 1.897 GB, free: 300.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.408e-05/2.261, allocations: 115 kB / 1.897 GB, free: 300.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/2.262, allocations: 66.88 kB / 1.897 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/2.263, allocations: 0.8067 MB / 1.898 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/2.263, allocations: 13.16 kB / 1.898 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/2.263, allocations: 0 / 1.898 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/2.263, allocations: 5.312 kB / 1.898 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/2.264, allocations: 1.151 MB / 1.899 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/2.264, allocations: 0 / 1.899 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/2.264, allocations: 44.2 kB / 1.899 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/2.264, allocations: 0.7031 kB / 1.899 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/2.264, allocations: 5.266 kB / 1.899 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/2.264, allocations: 3.906 kB / 1.899 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/2.264, allocations: 0.5625 kB / 1.899 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001212/2.266, allocations: 0.7571 MB / 1.9 GB, free: 297.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.547e-05/2.266, allocations: 133.7 kB / 1.9 GB, free: 297.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/2.266, allocations: 0.7031 kB / 1.9 GB, free: 297.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/2.266, allocations: 14.81 kB / 1.9 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/2.266, allocations: 20.77 kB / 1.9 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/2.266, allocations: 18.44 kB / 1.9 GB, free: 297.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.315e-05/2.266, allocations: 93.95 kB / 1.9 GB, free: 297.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007849/2.274, allocations: 1.675 MB / 1.902 GB, free: 295.8 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: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01285/2.287, allocations: 2.684 MB / 1.905 GB, free: 293.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005114/2.287, allocations: 349.7 kB / 1.905 GB, free: 293.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/2.287, allocations: 0 / 1.905 GB, free: 293.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/2.288, allocations: 332.5 kB / 1.905 GB, free: 292.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/2.288, allocations: 34.11 kB / 1.905 GB, free: 292.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008143/2.289, allocations: 493.8 kB / 1.906 GB, free: 292.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/2.289, allocations: 0.8091 MB / 1.907 GB, free: 291.7 MB / 1.151 GB Notification: Performance of SimCode: time 5.11e-07/2.289, allocations: 0 / 1.907 GB, free: 291.7 MB / 1.151 GB Notification: Performance of Templates: time 0.05366/2.343, allocations: 44.37 MB / 1.95 GB, free: 250.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_latest_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches