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.227/2.227, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.00136/0.00136, allocations: 180.9 kB / 492.3 MB, free: 0.625 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.589/1.589, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001028/0.001028, allocations: 97.2 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.88e-05/3.883e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3049, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.35/1.655, allocations: 460.9 MB / 1.662 GB, free: 2.816 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/1.655, allocations: 67.16 kB / 1.663 GB, free: 2.785 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.33/2.986, allocations: 195.8 MB / 1.854 GB, free: 347.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.313e-06/2.986, allocations: 7 kB / 1.854 GB, free: 347.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.296e-05/2.986, allocations: 4 kB / 1.854 GB, free: 347.4 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.005827/2.991, allocations: 1.219 MB / 1.855 GB, free: 346.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/2.991, allocations: 11.73 kB / 1.855 GB, free: 346.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/2.993, allocations: 85.77 kB / 1.855 GB, free: 346.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/2.993, allocations: 220.7 kB / 1.855 GB, free: 346 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/2.993, allocations: 11.5 kB / 1.855 GB, free: 346 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/2.993, allocations: 15.56 kB / 1.855 GB, free: 346 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009989/2.994, allocations: 456 kB / 1.856 GB, free: 345.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/2.994, allocations: 0 / 1.856 GB, free: 345.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/2.994, allocations: 7.438 kB / 1.856 GB, free: 345.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/2.994, allocations: 4 kB / 1.856 GB, free: 345.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000969/2.995, allocations: 0.5938 MB / 1.856 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008479/2.996, allocations: 0.9 MB / 1.857 GB, free: 344.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006647/2.996, allocations: 250.9 kB / 1.857 GB, free: 344.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.836e-05/2.997, allocations: 77.72 kB / 1.857 GB, free: 344.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07349/3.07, allocations: 34.76 MB / 1.891 GB, free: 310.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/3.07, allocations: 30.56 kB / 1.891 GB, free: 310.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.515e-06/3.07, allocations: 0 / 1.891 GB, free: 310.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.001579/3.072, allocations: 366.8 kB / 1.892 GB, free: 310.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/3.072, allocations: 62.64 kB / 1.892 GB, free: 310.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/3.072, allocations: 129.7 kB / 1.892 GB, free: 310.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/3.072, allocations: 29.27 kB / 1.892 GB, free: 310.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/3.072, allocations: 107.2 kB / 1.892 GB, free: 310.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-05/3.072, allocations: 90.33 kB / 1.892 GB, free: 310.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/3.072, allocations: 7.5 kB / 1.892 GB, free: 310.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.403e-05/3.072, allocations: 325.8 kB / 1.893 GB, free: 309.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/3.072, allocations: 76.47 kB / 1.893 GB, free: 309.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/3.073, allocations: 134.9 kB / 1.893 GB, free: 309.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/3.073, allocations: 85.88 kB / 1.893 GB, free: 309.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/3.073, allocations: 0 / 1.893 GB, free: 309.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005976/3.073, allocations: 294.9 kB / 1.893 GB, free: 309.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/3.073, allocations: 4 kB / 1.893 GB, free: 309.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/3.073, allocations: 4 kB / 1.893 GB, free: 309.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/3.073, allocations: 0 / 1.893 GB, free: 309.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/3.074, allocations: 84.56 kB / 1.893 GB, free: 309.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/3.074, allocations: 0 / 1.893 GB, free: 309.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/3.074, allocations: 22.94 kB / 1.893 GB, free: 309.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/3.074, allocations: 23.53 kB / 1.893 GB, free: 309.3 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.0001014/3.074, allocations: 127.5 kB / 1.893 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/3.074, allocations: 23.77 kB / 1.893 GB, free: 309.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007927/3.075, allocations: 499 kB / 1.894 GB, free: 308.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/3.075, allocations: 4 kB / 1.894 GB, free: 308.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/3.075, allocations: 0 / 1.894 GB, free: 308.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/3.075, allocations: 3.984 kB / 1.894 GB, free: 308.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009902/3.076, allocations: 0.8257 MB / 1.895 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/3.076, allocations: 0 / 1.895 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/3.076, allocations: 71.81 kB / 1.895 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/3.076, allocations: 4 kB / 1.895 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/3.076, allocations: 15.42 kB / 1.895 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/3.076, allocations: 3.984 kB / 1.895 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/3.076, allocations: 2.625 kB / 1.895 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006312/3.077, allocations: 437.2 kB / 1.895 GB, free: 307.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/3.077, allocations: 131.6 kB / 1.895 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/3.077, allocations: 3.812 kB / 1.895 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/3.077, allocations: 19.73 kB / 1.895 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/3.077, allocations: 23.66 kB / 1.895 GB, free: 307.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/3.078, allocations: 23.84 kB / 1.895 GB, free: 307.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 6.666e-05/3.078, allocations: 119 kB / 1.895 GB, free: 307.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/3.078, allocations: 0 / 1.895 GB, free: 307.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00826/3.086, allocations: 1.666 MB / 1.897 GB, free: 305.7 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.01483/3.101, allocations: 2.454 MB / 1.9 GB, free: 303.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006539/3.101, allocations: 249.6 kB / 1.9 GB, free: 303.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/3.101, allocations: 0 / 1.9 GB, free: 303.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/3.102, allocations: 166.7 kB / 1.9 GB, free: 303.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/3.102, allocations: 63.14 kB / 1.9 GB, free: 303 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/3.103, allocations: 289.6 kB / 1.9 GB, free: 302.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/3.103, allocations: 0.7379 MB / 1.901 GB, free: 302 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001093/3.104, allocations: 1.222 MB / 1.902 GB, free: 300.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/3.104, allocations: 62.33 kB / 1.902 GB, free: 300.8 MB / 1.151 GB Notification: Performance of SimCode: time 4.51e-07/3.104, allocations: 0 / 1.902 GB, free: 300.8 MB / 1.151 GB Notification: Performance of Templates: time 0.05709/3.162, allocations: 46.17 MB / 1.947 GB, free: 254.7 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