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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.417/2.417, allocations: 390.5 MB / 398 MB, free: 11 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.001403/0.001403, allocations: 180.9 kB / 491.2 MB, free: 1.613 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.551/1.551, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.000913/0.0009129, allocations: 87.89 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.829e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3188, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.344/1.662, allocations: 461 MB / 1.662 GB, free: 3.062 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.663, allocations: 69.12 kB / 1.663 GB, free: 3.031 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.411/3.074, allocations: 193 MB / 1.851 GB, free: 348.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.723e-06/3.074, allocations: 0 / 1.851 GB, free: 348.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.035e-05/3.074, allocations: 4 kB / 1.851 GB, free: 348.8 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.0075/3.081, allocations: 1.216 MB / 1.852 GB, free: 347.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/3.081, allocations: 12.03 kB / 1.852 GB, free: 347.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/3.083, allocations: 82.59 kB / 1.852 GB, free: 347.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/3.083, allocations: 221.1 kB / 1.853 GB, free: 347.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/3.083, allocations: 8 kB / 1.853 GB, free: 347.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/3.083, allocations: 9.203 kB / 1.853 GB, free: 347.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005299/3.084, allocations: 400.7 kB / 1.853 GB, free: 347 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/3.084, allocations: 207.2 kB / 1.853 GB, free: 346.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/3.084, allocations: 11.78 kB / 1.853 GB, free: 346.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/3.084, allocations: 2.25 kB / 1.853 GB, free: 346.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/3.084, allocations: 4 kB / 1.853 GB, free: 346.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/3.085, allocations: 0.8722 MB / 1.854 GB, free: 346 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/3.085, allocations: 138.9 kB / 1.854 GB, free: 345.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/3.085, allocations: 58.83 kB / 1.854 GB, free: 345.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08159/3.167, allocations: 34.73 MB / 1.888 GB, free: 313.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/3.167, allocations: 45.45 kB / 1.888 GB, free: 313.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.375e-06/3.167, allocations: 0 / 1.888 GB, free: 313.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.001534/3.169, allocations: 281.2 kB / 1.888 GB, free: 312.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/3.169, allocations: 51.41 kB / 1.888 GB, free: 312.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/3.169, allocations: 110.8 kB / 1.889 GB, free: 312.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/3.169, allocations: 25.7 kB / 1.889 GB, free: 312.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/3.169, allocations: 112.3 kB / 1.889 GB, free: 312.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/3.169, allocations: 82.75 kB / 1.889 GB, free: 312.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/3.169, allocations: 4 kB / 1.889 GB, free: 312.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.721e-05/3.169, allocations: 318.8 kB / 1.889 GB, free: 312.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/3.169, allocations: 73.77 kB / 1.889 GB, free: 312.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/3.169, allocations: 117.1 kB / 1.889 GB, free: 312 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007847/3.17, allocations: 135.7 kB / 1.889 GB, free: 311.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/3.17, allocations: 0 / 1.889 GB, free: 311.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001133/3.171, allocations: 318.1 kB / 1.89 GB, free: 311.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/3.171, allocations: 4 kB / 1.89 GB, free: 311.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/3.171, allocations: 0 / 1.89 GB, free: 311.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/3.171, allocations: 7.938 kB / 1.89 GB, free: 311.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/3.172, allocations: 80.06 kB / 1.89 GB, free: 311.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/3.172, allocations: 4.156 kB / 1.89 GB, free: 311.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/3.172, allocations: 15.84 kB / 1.89 GB, free: 311.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/3.172, allocations: 31.97 kB / 1.89 GB, free: 311.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 0.0001148/3.172, allocations: 107.8 kB / 1.89 GB, free: 311.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/3.172, allocations: 22.02 kB / 1.89 GB, free: 311.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/3.174, allocations: 0.5122 MB / 1.89 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/3.174, allocations: 4 kB / 1.89 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/3.174, allocations: 2.625 kB / 1.89 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/3.174, allocations: 3.984 kB / 1.891 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/3.175, allocations: 0.8226 MB / 1.891 GB, free: 309.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/3.175, allocations: 0 / 1.891 GB, free: 309.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/3.176, allocations: 69.23 kB / 1.891 GB, free: 309.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/3.176, allocations: 4 kB / 1.891 GB, free: 309.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/3.176, allocations: 19.97 kB / 1.891 GB, free: 309.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/3.176, allocations: 4 kB / 1.891 GB, free: 309.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/3.176, allocations: 0 / 1.891 GB, free: 309.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/3.177, allocations: 458.6 kB / 1.892 GB, free: 309.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/3.177, allocations: 132.6 kB / 1.892 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/3.177, allocations: 0 / 1.892 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/3.177, allocations: 15.98 kB / 1.892 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/3.177, allocations: 27.95 kB / 1.892 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/3.177, allocations: 23.98 kB / 1.892 GB, free: 309.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 5.92e-05/3.178, allocations: 97.02 kB / 1.892 GB, free: 309.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/3.178, allocations: 0 / 1.892 GB, free: 309.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.009467/3.187, allocations: 1.651 MB / 1.894 GB, free: 307.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.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.01972/3.207, allocations: 2.525 MB / 1.896 GB, free: 305.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00058/3.207, allocations: 237.6 kB / 1.896 GB, free: 304.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/3.207, allocations: 4 kB / 1.896 GB, free: 304.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/3.208, allocations: 163.2 kB / 1.897 GB, free: 304.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/3.208, allocations: 35.95 kB / 1.897 GB, free: 304.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/3.209, allocations: 277.4 kB / 1.897 GB, free: 304.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/3.209, allocations: 0.7376 MB / 1.898 GB, free: 303.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001173/3.21, allocations: 1.227 MB / 1.899 GB, free: 302.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/3.211, allocations: 55.39 kB / 1.899 GB, free: 302.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.012e-06/3.211, allocations: 0 / 1.899 GB, free: 302.4 MB / 1.151 GB Notification: Performance of Templates: time 0.05971/3.27, allocations: 39.51 MB / 1.937 GB, free: 262.9 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