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.397/2.397, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001604/0.001604, allocations: 171.4 kB / 498.1 MB, free: 5.727 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.741/1.741, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001011/0.001012, allocations: 99.81 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004397, allocations: 11.16 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4111, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.458/1.869, allocations: 460.9 MB / 1.673 GB, free: 1.168 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/1.869, allocations: 74.92 kB / 1.673 GB, free: 1.129 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.5697/2.439, allocations: 196.1 MB / 1.865 GB, free: 7.961 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.505e-06/2.439, allocations: 0 / 1.865 GB, free: 7.961 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.695e-05/2.439, allocations: 4 kB / 1.865 GB, free: 7.957 MB / 1.167 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.008042/2.447, allocations: 1.228 MB / 1.866 GB, free: 6.711 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/2.447, allocations: 8.031 kB / 1.866 GB, free: 6.703 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/2.449, allocations: 79.11 kB / 1.866 GB, free: 6.629 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/2.449, allocations: 230.5 kB / 1.866 GB, free: 6.383 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/2.449, allocations: 15.61 kB / 1.866 GB, free: 6.371 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/2.449, allocations: 19.39 kB / 1.866 GB, free: 6.355 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/2.451, allocations: 444.5 kB / 1.867 GB, free: 6.023 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/2.451, allocations: 0 / 1.867 GB, free: 6.023 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/2.451, allocations: 14.81 kB / 1.867 GB, free: 6.016 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/2.451, allocations: 4 kB / 1.867 GB, free: 6.012 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/2.452, allocations: 0.5844 MB / 1.867 GB, free: 5.57 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/2.454, allocations: 0.9055 MB / 1.868 GB, free: 4.68 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000854/2.454, allocations: 244.8 kB / 1.868 GB, free: 4.488 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8887/3.343, allocations: 34.64 MB / 1.902 GB, free: 319.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/3.343, allocations: 38.75 kB / 1.902 GB, free: 319.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 3.246e-06/3.343, allocations: 1.219 kB / 1.902 GB, free: 319.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.001789/3.345, allocations: 409.7 kB / 1.902 GB, free: 319.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/3.345, allocations: 51.41 kB / 1.903 GB, free: 319.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/3.345, allocations: 130.2 kB / 1.903 GB, free: 319.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/3.345, allocations: 32.89 kB / 1.903 GB, free: 319.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.154e-05/3.345, allocations: 108.7 kB / 1.903 GB, free: 319.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/3.345, allocations: 84.48 kB / 1.903 GB, free: 319.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/3.346, allocations: 3.188 kB / 1.903 GB, free: 319.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/3.346, allocations: 326.4 kB / 1.903 GB, free: 319.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/3.346, allocations: 76.39 kB / 1.903 GB, free: 319.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/3.346, allocations: 140.2 kB / 1.903 GB, free: 319.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/3.346, allocations: 88.67 kB / 1.903 GB, free: 319.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/3.346, allocations: 0 / 1.903 GB, free: 319.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005955/3.347, allocations: 302.4 kB / 1.904 GB, free: 319.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/3.347, allocations: 7.312 kB / 1.904 GB, free: 319.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/3.347, allocations: 7.391 kB / 1.904 GB, free: 319.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.731e-05/3.347, allocations: 3.969 kB / 1.904 GB, free: 319.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/3.347, allocations: 79.45 kB / 1.904 GB, free: 319.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/3.347, allocations: 3.047 kB / 1.904 GB, free: 319.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/3.347, allocations: 26.22 kB / 1.904 GB, free: 319.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/3.347, allocations: 29.92 kB / 1.904 GB, free: 319.1 MB / 1.167 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 () * Number of clocked 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.000125/3.348, allocations: 126.3 kB / 1.904 GB, free: 319 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/3.348, allocations: 10.62 kB / 1.904 GB, free: 319 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/3.35, allocations: 2.307 MB / 1.906 GB, free: 318.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/3.35, allocations: 11.72 kB / 1.906 GB, free: 318.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/3.35, allocations: 4.594 kB / 1.906 GB, free: 318.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/3.35, allocations: 7.75 kB / 1.906 GB, free: 318.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/3.353, allocations: 3.356 MB / 1.91 GB, free: 318.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/3.353, allocations: 0 / 1.91 GB, free: 318.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/3.353, allocations: 59.48 kB / 1.91 GB, free: 318.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/3.353, allocations: 3.969 kB / 1.91 GB, free: 318.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/3.353, allocations: 6.062 kB / 1.91 GB, free: 318.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/3.353, allocations: 7.922 kB / 1.91 GB, free: 318.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/3.353, allocations: 0 / 1.91 GB, free: 318.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/3.354, allocations: 0.5394 MB / 1.91 GB, free: 318.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/3.354, allocations: 153.2 kB / 1.91 GB, free: 318.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/3.354, allocations: 2.625 kB / 1.91 GB, free: 318.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/3.354, allocations: 22.67 kB / 1.91 GB, free: 318.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/3.354, allocations: 23.28 kB / 1.91 GB, free: 318.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/3.354, allocations: 18.03 kB / 1.91 GB, free: 318.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 6.941e-05/3.354, allocations: 105.8 kB / 1.911 GB, free: 318 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/3.354, allocations: 0 / 1.911 GB, free: 318 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009359/3.364, allocations: 1.663 MB / 1.912 GB, free: 318 MB / 1.167 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 () * Number of clocked 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.01649/3.38, allocations: 2.446 MB / 1.915 GB, free: 317.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000826/3.381, allocations: 317.1 kB / 1.915 GB, free: 317.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/3.381, allocations: 0 / 1.915 GB, free: 317.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003191/3.381, allocations: 240.2 kB / 1.915 GB, free: 317.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/3.382, allocations: 69.94 kB / 1.915 GB, free: 317.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/3.383, allocations: 0.7864 MB / 1.916 GB, free: 317.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/3.384, allocations: 0.7695 MB / 1.917 GB, free: 316.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000534/3.384, allocations: 401.4 kB / 1.917 GB, free: 316.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/3.384, allocations: 47.77 kB / 1.917 GB, free: 316.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.473e-06/3.384, allocations: 0 / 1.917 GB, free: 316.7 MB / 1.167 GB Notification: Performance of Templates: time 0.05715/3.442, allocations: 44.22 MB / 1.96 GB, free: 314.8 MB / 1.167 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