Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.49/1.49, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 183.7 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008782/0.0008784, allocations: 105.8 kB / 0.6715 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.363e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2664, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.416/6.683, allocations: 2.188 GB / 3.073 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/6.683, allocations: 83.45 kB / 3.073 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.119/6.802, allocations: 64.92 MB / 3.137 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.903e-06/6.802, allocations: 0 / 3.137 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.282e-05/6.802, allocations: 4 kB / 3.137 GB, free: 119.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005844/6.803, allocations: 442.1 kB / 3.137 GB, free: 119 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/6.803, allocations: 8.031 kB / 3.137 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007578/6.804, allocations: 75.72 kB / 3.137 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/6.804, allocations: 209.4 kB / 3.137 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/6.804, allocations: 8 kB / 3.137 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/6.804, allocations: 7.938 kB / 3.137 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001549/6.804, allocations: 67.94 kB / 3.138 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/6.804, allocations: 93.61 kB / 3.138 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/6.804, allocations: 0 / 3.138 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/6.804, allocations: 0 / 3.138 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/6.804, allocations: 4 kB / 3.138 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006152/6.805, allocations: 381 kB / 3.138 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/6.805, allocations: 191.8 kB / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.144e-05/6.805, allocations: 44.84 kB / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/6.805, allocations: 4 kB / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/6.805, allocations: 34.55 kB / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/6.805, allocations: 0 / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0002436/6.806, allocations: 105.4 kB / 3.138 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/6.806, allocations: 51.41 kB / 3.138 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/6.806, allocations: 117.3 kB / 3.139 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/6.806, allocations: 25.7 kB / 3.139 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/6.806, allocations: 112.2 kB / 3.139 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/6.806, allocations: 27.56 kB / 3.139 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/6.806, allocations: 0 / 3.139 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.497e-05/6.806, allocations: 318.8 kB / 3.139 GB, free: 117 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/6.806, allocations: 24 kB / 3.139 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.428e-05/6.806, allocations: 46.72 kB / 3.139 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.936e-05/6.806, allocations: 27.97 kB / 3.139 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/6.806, allocations: 4.031 kB / 3.139 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001365/6.806, allocations: 101.5 kB / 3.139 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/6.806, allocations: 4 kB / 3.139 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/6.806, allocations: 0 / 3.139 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/6.806, allocations: 4 kB / 3.139 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/6.807, allocations: 35.91 kB / 3.139 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/6.807, allocations: 7.938 kB / 3.139 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/6.807, allocations: 27.97 kB / 3.139 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/6.807, allocations: 7.953 kB / 3.139 GB, free: 116.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.245e-05/6.807, allocations: 101 kB / 3.139 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/6.807, allocations: 7.906 kB / 3.139 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/6.807, allocations: 12.62 kB / 3.139 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/6.807, allocations: 4 kB / 3.139 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/6.807, allocations: 0 / 3.139 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/6.807, allocations: 3.984 kB / 3.139 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/6.807, allocations: 383.2 kB / 3.14 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/6.807, allocations: 0 / 3.14 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/6.807, allocations: 31.97 kB / 3.14 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/6.807, allocations: 4 kB / 3.14 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/6.807, allocations: 0 / 3.14 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/6.807, allocations: 80 / 3.14 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/6.807, allocations: 3.984 kB / 3.14 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/6.808, allocations: 199.3 kB / 3.14 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/6.808, allocations: 88.95 kB / 3.14 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/6.808, allocations: 0 / 3.14 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/6.808, allocations: 27.97 kB / 3.14 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/6.808, allocations: 0 / 3.14 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/6.808, allocations: 11.98 kB / 3.14 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.624e-05/6.808, allocations: 99.02 kB / 3.14 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.808, allocations: 0 / 3.14 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000386/6.808, allocations: 63.89 kB / 3.14 GB, free: 115.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009547/6.809, allocations: 0.74 MB / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002066/6.81, allocations: 67.91 kB / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/6.81, allocations: 4 kB / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.951e-05/6.81, allocations: 39.98 kB / 3.141 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/6.81, allocations: 23.92 kB / 3.141 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/6.81, allocations: 144.6 kB / 3.141 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/6.811, allocations: 0.708 MB / 3.142 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001467/6.811, allocations: 24.64 kB / 3.142 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/6.811, allocations: 19.42 kB / 3.142 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/6.811, allocations: 0 / 3.142 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.008336/6.819, allocations: 5.208 MB / 3.147 GB, free: 108.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches