Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 249.3 MB / 261.8 MB, free: 5.875 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.0014/0.0014, allocations: 174.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.189/2.189, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009689/0.0009688, allocations: 102.4 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.876e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2862, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.543/5.829, allocations: 2.173 GB / 3.065 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004422/5.83, allocations: 82.73 kB / 3.065 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05601/5.886, allocations: 26.65 MB / 3.091 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.468e-06/5.886, allocations: 0 / 3.091 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.355e-05/5.886, allocations: 0 / 3.091 GB, free: 170.2 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006347/5.886, allocations: 346.4 kB / 3.091 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 8.157e-05/5.886, allocations: 8.031 kB / 3.091 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006028/5.887, allocations: 35.92 kB / 3.092 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/5.887, allocations: 167.1 kB / 3.092 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/5.887, allocations: 0 / 3.092 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/5.887, allocations: 4 kB / 3.092 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/5.888, allocations: 37.67 kB / 3.092 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/5.888, allocations: 3.938 kB / 3.092 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/5.888, allocations: 7.938 kB / 3.092 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/5.888, allocations: 3.953 kB / 3.092 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.336e-05/5.888, allocations: 11.98 kB / 3.092 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/5.888, allocations: 249 kB / 3.092 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.218e-05/5.889, allocations: 22.58 kB / 3.092 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/5.889, allocations: 8.922 kB / 3.092 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/5.889, allocations: 3.938 kB / 3.092 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/5.889, allocations: 38.5 kB / 3.092 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 2.806e-06/5.889, allocations: 0 / 3.092 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002324/5.889, allocations: 49.55 kB / 3.092 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/5.889, allocations: 55.41 kB / 3.092 GB, free: 169 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/5.889, allocations: 96.98 kB / 3.092 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/5.889, allocations: 25.7 kB / 3.092 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.918e-05/5.889, allocations: 88.12 kB / 3.092 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/5.889, allocations: 11.84 kB / 3.092 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/5.889, allocations: 0 / 3.092 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002181/5.89, allocations: 310.8 kB / 3.093 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.197e-05/5.89, allocations: 8.031 kB / 3.093 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/5.89, allocations: 11.98 kB / 3.093 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/5.89, allocations: 4 kB / 3.093 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/5.89, allocations: 0 / 3.093 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000175/5.89, allocations: 57.61 kB / 3.093 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/5.89, allocations: 4 kB / 3.093 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/5.89, allocations: 0 / 3.093 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/5.89, allocations: 3.953 kB / 3.093 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/5.89, allocations: 11.98 kB / 3.093 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/5.89, allocations: 0 / 3.093 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/5.89, allocations: 8 kB / 3.093 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/5.89, allocations: 7.984 kB / 3.093 GB, free: 168.4 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 (3): * Single equations (assignments): 3 * 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 9.981e-05/5.89, allocations: 102.7 kB / 3.093 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/5.89, allocations: 3.906 kB / 3.093 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/5.89, allocations: 11.08 kB / 3.093 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/5.89, allocations: 4 kB / 3.093 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/5.89, allocations: 3.953 kB / 3.093 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/5.89, allocations: 4 kB / 3.093 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/5.891, allocations: 153.7 kB / 3.093 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/5.891, allocations: 0 / 3.093 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/5.891, allocations: 3.938 kB / 3.093 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/5.891, allocations: 4 kB / 3.093 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/5.891, allocations: 3.984 kB / 3.093 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/5.891, allocations: 0 / 3.093 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/5.891, allocations: 0 / 3.093 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/5.891, allocations: 143.4 kB / 3.093 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.469e-05/5.891, allocations: 89.09 kB / 3.093 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/5.891, allocations: 4 kB / 3.093 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/5.891, allocations: 0 / 3.093 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/5.891, allocations: 4 kB / 3.093 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/5.891, allocations: 3.984 kB / 3.093 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.299e-05/5.891, allocations: 87.23 kB / 3.093 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.62e-07/5.891, allocations: 0 / 3.093 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004799/5.892, allocations: 51.98 kB / 3.093 GB, free: 167.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 (2): * Single equations (assignments): 2 * 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.001121/5.893, allocations: 0.5617 MB / 3.094 GB, free: 167 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001236/5.893, allocations: 19.92 kB / 3.094 GB, free: 167 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/5.893, allocations: 0 / 3.094 GB, free: 167 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.229e-05/5.893, allocations: 4 kB / 3.094 GB, free: 167 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/5.893, allocations: 8.062 kB / 3.094 GB, free: 167 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/5.894, allocations: 62.17 kB / 3.094 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/5.894, allocations: 0.677 MB / 3.095 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001391/5.894, allocations: 4 kB / 3.095 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/5.894, allocations: 15.42 kB / 3.095 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/5.894, allocations: 0 / 3.095 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.01317/5.907, allocations: 9.477 MB / 3.104 GB, free: 156.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches