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.438/2.438, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001945/0.001946, allocations: 181.8 kB / 0.4902 GB, free: 2.211 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.744/1.744, allocations: 223.2 MB / 0.7992 GB, free: 14.74 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.001022/0.001022, allocations: 90.39 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005718/0.0005716, allocations: 8.125 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4723, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.414/1.886, allocations: 461.7 MB / 1.68 GB, free: 1.754 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003533/1.887, allocations: 77.27 kB / 1.68 GB, free: 1.715 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.405/3.291, allocations: 196.1 MB / 1.872 GB, free: 331.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.944e-06/3.291, allocations: 2.562 kB / 1.872 GB, free: 331.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.938e-05/3.291, allocations: 4.844 kB / 1.872 GB, free: 331.6 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.007732/3.299, allocations: 1.233 MB / 1.873 GB, free: 331 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.715e-05/3.299, allocations: 9.781 kB / 1.873 GB, free: 331 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/3.301, allocations: 83.17 kB / 1.873 GB, free: 331 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/3.301, allocations: 228.2 kB / 1.873 GB, free: 330.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/3.301, allocations: 9.812 kB / 1.873 GB, free: 330.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/3.301, allocations: 18.8 kB / 1.873 GB, free: 330.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/3.302, allocations: 450 kB / 1.874 GB, free: 330.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/3.302, allocations: 2.406 kB / 1.874 GB, free: 330.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/3.302, allocations: 11.06 kB / 1.874 GB, free: 330.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/3.302, allocations: 4.094 kB / 1.874 GB, free: 330.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/3.304, allocations: 0.5889 MB / 1.874 GB, free: 330.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/3.305, allocations: 0.9016 MB / 1.875 GB, free: 330 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008886/3.306, allocations: 245.4 kB / 1.875 GB, free: 330 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08638/3.392, allocations: 34.65 MB / 1.909 GB, free: 314.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/3.392, allocations: 46.41 kB / 1.909 GB, free: 314.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 3.437e-06/3.392, allocations: 2.484 kB / 1.909 GB, free: 314.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.00185/3.394, allocations: 400.9 kB / 1.91 GB, free: 314.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/3.394, allocations: 59.16 kB / 1.91 GB, free: 314.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/3.394, allocations: 131.7 kB / 1.91 GB, free: 314 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/3.395, allocations: 29.08 kB / 1.91 GB, free: 314 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/3.395, allocations: 110.3 kB / 1.91 GB, free: 313.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/3.395, allocations: 92.83 kB / 1.91 GB, free: 313.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/3.395, allocations: 3.875 kB / 1.91 GB, free: 313.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.406e-05/3.395, allocations: 322 kB / 1.91 GB, free: 313.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/3.395, allocations: 81.25 kB / 1.91 GB, free: 313.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/3.395, allocations: 134.2 kB / 1.911 GB, free: 313.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/3.395, allocations: 86.47 kB / 1.911 GB, free: 313.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/3.395, allocations: 0 / 1.911 GB, free: 313.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006512/3.396, allocations: 301.9 kB / 1.911 GB, free: 313.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/3.396, allocations: 7.672 kB / 1.911 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/3.396, allocations: 3.562 kB / 1.911 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/3.396, allocations: 3.688 kB / 1.911 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/3.396, allocations: 76.59 kB / 1.911 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/3.396, allocations: 3.906 kB / 1.911 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/3.397, allocations: 21.89 kB / 1.911 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/3.397, allocations: 22.52 kB / 1.911 GB, free: 313.4 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.0001581/3.397, allocations: 133.2 kB / 1.911 GB, free: 313.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/3.397, allocations: 26.67 kB / 1.911 GB, free: 313.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/3.399, allocations: 2.3 MB / 1.913 GB, free: 313.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/3.399, allocations: 10.62 kB / 1.913 GB, free: 313.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/3.399, allocations: 0 / 1.913 GB, free: 313.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/3.399, allocations: 0 / 1.913 GB, free: 313.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003331/3.403, allocations: 3.371 MB / 1.917 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/3.403, allocations: 0 / 1.917 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/3.403, allocations: 54.72 kB / 1.917 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/3.403, allocations: 0 / 1.917 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/3.403, allocations: 9.312 kB / 1.917 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/3.403, allocations: 1.031 kB / 1.917 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/3.403, allocations: 7.188 kB / 1.917 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/3.404, allocations: 0.5463 MB / 1.917 GB, free: 312.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/3.404, allocations: 155.4 kB / 1.917 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/3.404, allocations: 3.938 kB / 1.917 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/3.404, allocations: 20.72 kB / 1.917 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/3.404, allocations: 15.09 kB / 1.918 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/3.404, allocations: 15.53 kB / 1.918 GB, free: 312.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 7.5e-05/3.405, allocations: 104.2 kB / 1.918 GB, free: 312.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.51e-07/3.405, allocations: 0.9062 kB / 1.918 GB, free: 312.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009047/3.414, allocations: 1.663 MB / 1.919 GB, free: 312.1 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.01524/3.429, allocations: 2.447 MB / 1.922 GB, free: 311.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008/3.43, allocations: 321.5 kB / 1.922 GB, free: 311.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/3.43, allocations: 0 / 1.922 GB, free: 311.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/3.43, allocations: 240.9 kB / 1.922 GB, free: 311.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/3.431, allocations: 64.08 kB / 1.922 GB, free: 311.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/3.432, allocations: 0.7948 MB / 1.923 GB, free: 311.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/3.432, allocations: 0.7709 MB / 1.924 GB, free: 310.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006033/3.433, allocations: 397.9 kB / 1.924 GB, free: 310.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/3.433, allocations: 44.22 kB / 1.924 GB, free: 310.6 MB / 1.167 GB Notification: Performance of SimCode: time 6.22e-07/3.433, allocations: 0 / 1.924 GB, free: 310.6 MB / 1.167 GB Notification: Performance of Templates: time 0.06487/3.498, allocations: 44.23 MB / 1.967 GB, free: 308.1 MB / 1.167 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