Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.527/1.527, allocations: 249.3 MB / 261.8 MB, free: 5.945 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.001285/0.001285, allocations: 172.9 kB / 321.3 MB, free: 14.64 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.138/2.138, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.001094/0.001094, allocations: 98.44 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.33e-05, allocations: 4 kB / 0.7879 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2608, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9247/1.186, allocations: 132.6 MB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/1.186, allocations: 84.05 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005391/1.191, allocations: 1.772 MB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.034e-06/1.191, allocations: 0 / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.404e-06/1.191, allocations: 0 / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003026/1.192, allocations: 350.3 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.192, allocations: 8.031 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/1.192, allocations: 27.97 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/1.192, allocations: 163 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/1.192, allocations: 4 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/1.192, allocations: 0 / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/1.192, allocations: 45.48 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/1.192, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/1.192, allocations: 3.984 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/1.192, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.851e-05/1.192, allocations: 10.94 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/1.193, allocations: 162.5 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.184e-05/1.193, allocations: 44.84 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/1.193, allocations: 11.67 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/1.193, allocations: 0 / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/1.193, allocations: 30.56 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.924e-06/1.193, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001418/1.193, allocations: 52.22 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/1.193, allocations: 67 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/1.193, allocations: 85 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/1.193, allocations: 29.7 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/1.193, allocations: 80.14 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/1.193, allocations: 7.844 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/1.193, allocations: 3.625 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.193, allocations: 318.8 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/1.193, allocations: 4 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/1.193, allocations: 7.188 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/1.193, allocations: 15.81 kB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/1.193, allocations: 0 / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.88e-05/1.193, allocations: 49.05 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.193, allocations: 4 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/1.193, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/1.193, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/1.194, allocations: 11.98 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/1.194, allocations: 7.875 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.67e-05/1.194, allocations: 4.031 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/1.194, allocations: 4 kB / 1.025 GB, free: 14.79 MB / 0.6511 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 (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 prepare postOptimizeDAE: time 7.43e-05/1.194, allocations: 108.9 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/1.194, allocations: 3.906 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/1.194, allocations: 10.77 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/1.194, allocations: 4 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.194, allocations: 0 / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/1.194, allocations: 7.938 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/1.194, allocations: 161 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.194, allocations: 192 / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/1.194, allocations: 7.984 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/1.194, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/1.194, allocations: 7.984 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.194, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.194, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/1.194, allocations: 79.61 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/1.194, allocations: 89.05 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/1.194, allocations: 3.062 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.987e-05/1.194, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/1.194, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/1.194, allocations: 3.984 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.24e-05/1.194, allocations: 79.28 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.194, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002078/1.195, allocations: 16 kB / 1.025 GB, free: 14.13 MB / 0.6511 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.0001762/1.195, allocations: 115.2 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.963e-05/1.195, allocations: 20.73 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.195, allocations: 2.062 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.82e-05/1.195, allocations: 14.81 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/1.195, allocations: 4 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/1.195, allocations: 64.91 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/1.196, allocations: 0.677 MB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.668e-05/1.196, allocations: 19.83 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/1.196, allocations: 7.438 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/1.196, allocations: 0 / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of Templates: time 0.002655/1.199, allocations: 0.7056 MB / 1.027 GB, free: 12.48 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches