Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamProperties.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.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_9_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_9_Buildings.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.01/2.01, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.000969/0.000969, allocations: 176.9 kB / 487.4 MB, free: 5.062 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.314/1.314, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 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.0008517/0.0008517, allocations: 89.17 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.268e-05/1.271e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2955, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.411, allocations: 460.2 MB / 1.655 GB, free: 11.51 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/1.411, allocations: 76.14 kB / 1.655 GB, free: 11.47 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.128/2.539, allocations: 193 MB / 1.844 GB, free: 349.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.282e-06/2.539, allocations: 3 kB / 1.844 GB, free: 349.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.738e-05/2.539, allocations: 3.656 kB / 1.844 GB, free: 349.6 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.005619/2.545, allocations: 1.214 MB / 1.845 GB, free: 348.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/2.545, allocations: 11.84 kB / 1.845 GB, free: 348.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/2.546, allocations: 88.61 kB / 1.845 GB, free: 348.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/2.546, allocations: 223.8 kB / 1.845 GB, free: 348.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/2.546, allocations: 10.55 kB / 1.845 GB, free: 348.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/2.546, allocations: 7.125 kB / 1.845 GB, free: 348.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004274/2.547, allocations: 399 kB / 1.846 GB, free: 348.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/2.547, allocations: 204.6 kB / 1.846 GB, free: 348.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/2.547, allocations: 7.656 kB / 1.846 GB, free: 348.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/2.547, allocations: 3.938 kB / 1.846 GB, free: 348.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/2.547, allocations: 7 kB / 1.846 GB, free: 348.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008392/2.548, allocations: 0.8568 MB / 1.847 GB, free: 347.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/2.548, allocations: 145.2 kB / 1.847 GB, free: 347.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.124e-05/2.548, allocations: 62.3 kB / 1.847 GB, free: 347.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07267/2.621, allocations: 34.74 MB / 1.881 GB, free: 320.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/2.621, allocations: 45.41 kB / 1.881 GB, free: 320.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/2.621, allocations: 0 / 1.881 GB, free: 320.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.001211/2.622, allocations: 277.8 kB / 1.881 GB, free: 320.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/2.622, allocations: 55.41 kB / 1.881 GB, free: 320 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/2.622, allocations: 108.8 kB / 1.881 GB, free: 319.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/2.622, allocations: 29.7 kB / 1.881 GB, free: 319.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/2.622, allocations: 119.5 kB / 1.882 GB, free: 319.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/2.622, allocations: 73.86 kB / 1.882 GB, free: 319.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/2.623, allocations: 4 kB / 1.882 GB, free: 319.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.37e-05/2.623, allocations: 324.9 kB / 1.882 GB, free: 319.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/2.623, allocations: 75.56 kB / 1.882 GB, free: 319.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/2.623, allocations: 121.1 kB / 1.882 GB, free: 319.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/2.624, allocations: 122.1 kB / 1.882 GB, free: 319.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/2.624, allocations: 0 / 1.882 GB, free: 319.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001061/2.625, allocations: 311.7 kB / 1.883 GB, free: 318.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/2.625, allocations: 15.84 kB / 1.883 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/2.625, allocations: 0 / 1.883 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/2.625, allocations: 4 kB / 1.883 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/2.625, allocations: 81.5 kB / 1.883 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/2.625, allocations: 11.28 kB / 1.883 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/2.625, allocations: 19.3 kB / 1.883 GB, free: 318.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/2.625, allocations: 17.12 kB / 1.883 GB, free: 318.8 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 9.721e-05/2.625, allocations: 112.8 kB / 1.883 GB, free: 318.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/2.625, allocations: 19.23 kB / 1.883 GB, free: 318.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/2.627, allocations: 0.5175 MB / 1.883 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/2.627, allocations: 4 kB / 1.883 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/2.627, allocations: 0 / 1.883 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/2.627, allocations: 3.656 kB / 1.883 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/2.628, allocations: 0.7934 MB / 1.884 GB, free: 317.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/2.628, allocations: 11.89 kB / 1.884 GB, free: 317.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/2.628, allocations: 73.14 kB / 1.884 GB, free: 317.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/2.628, allocations: 4 kB / 1.884 GB, free: 317.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/2.628, allocations: 18.72 kB / 1.884 GB, free: 317.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/2.628, allocations: 0 / 1.884 GB, free: 317.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/2.628, allocations: 3.984 kB / 1.884 GB, free: 317.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/2.629, allocations: 461.7 kB / 1.885 GB, free: 317.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/2.63, allocations: 129.3 kB / 1.885 GB, free: 317.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/2.63, allocations: 0 / 1.885 GB, free: 317.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/2.63, allocations: 23.69 kB / 1.885 GB, free: 317.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/2.63, allocations: 26.86 kB / 1.885 GB, free: 317.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/2.63, allocations: 21.52 kB / 1.885 GB, free: 317.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 4.442e-05/2.63, allocations: 98.67 kB / 1.885 GB, free: 317.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/2.63, allocations: 0 / 1.885 GB, free: 317.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006408/2.636, allocations: 1.65 MB / 1.887 GB, free: 315.6 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.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01166/2.648, allocations: 2.526 MB / 1.889 GB, free: 313.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003775/2.649, allocations: 238.3 kB / 1.889 GB, free: 313.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/2.649, allocations: 320 / 1.889 GB, free: 313.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/2.649, allocations: 166.8 kB / 1.889 GB, free: 313.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/2.649, allocations: 31.05 kB / 1.889 GB, free: 313.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005693/2.65, allocations: 268.3 kB / 1.89 GB, free: 313.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/2.65, allocations: 0.74 MB / 1.89 GB, free: 312.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009993/2.651, allocations: 1.223 MB / 1.892 GB, free: 311.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/2.651, allocations: 60.52 kB / 1.892 GB, free: 311.6 MB / 1.151 GB Notification: Performance of SimCode: time 3.41e-07/2.651, allocations: 1.688 kB / 1.892 GB, free: 311.6 MB / 1.151 GB Notification: Performance of Templates: time 0.04481/2.696, allocations: 39.51 MB / 1.93 GB, free: 274 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_9_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamProperties.csv","../files/Buildings_9_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches