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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.222/1.222, allocations: 249.4 MB / 256.7 MB, free: 7.066 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.0009628/0.000963, allocations: 185.1 kB / 316 MB, free: 3.57 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.073/1.073, allocations: 205.2 MB / 0.5667 GB, free: 15.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.000799/0.000799, allocations: 86.14 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.941e-06/5.951e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4235/0.5672, allocations: 132.9 MB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.5675, allocations: 78.58 kB / 1.014 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005091/0.5726, allocations: 1.473 MB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.5726, allocations: 4 kB / 1.016 GB, free: 4.535 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.0002858/0.5729, allocations: 341.7 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.573, allocations: 8.031 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003599/0.5733, allocations: 31.95 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.5735, allocations: 163.1 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.5735, allocations: 3.984 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.5735, allocations: 7.906 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.53e-05/0.5736, allocations: 10.69 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.099e-05/0.5736, allocations: 45.17 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.5737, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.5737, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5737, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.5738, allocations: 141 kB / 1.017 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.875e-05/0.5739, allocations: 29.84 kB / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.5739, allocations: 12.42 kB / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.574, allocations: 4 kB / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.574, allocations: 34.47 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.574, allocations: 0 / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001596/0.5742, allocations: 53.48 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.5742, allocations: 58.17 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.594e-05/0.5743, allocations: 93.7 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.5743, allocations: 25.7 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.5743, allocations: 80.14 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.5743, allocations: 7.844 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.5743, allocations: 0 / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.5744, allocations: 318.1 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.5745, allocations: 4 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.397e-05/0.5745, allocations: 11.31 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.163e-05/0.5745, allocations: 11.25 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5745, allocations: 0 / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.97e-05/0.5746, allocations: 56.05 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.5746, allocations: 7.906 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5746, allocations: 0.625 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.5747, allocations: 4.031 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.5748, allocations: 7.984 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.5748, allocations: 4 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.5748, allocations: 4.094 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.5749, allocations: 0 / 1.017 GB, free: 2.832 MB / 0.6355 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 5.795e-05/0.5749, allocations: 109 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.5749, allocations: 3.906 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.575, allocations: 10.52 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.575, allocations: 4 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.575, allocations: 4 kB / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.575, allocations: 0 / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.313e-05/0.5751, allocations: 138 kB / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.5751, allocations: 0 / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.987e-05/0.5752, allocations: 7.984 kB / 1.018 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.5752, allocations: 4.781 kB / 1.018 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.5752, allocations: 0 / 1.018 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.5752, allocations: 0 / 1.018 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5752, allocations: 4 kB / 1.018 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.755e-05/0.5753, allocations: 76.17 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.5754, allocations: 88.31 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.5754, allocations: 6.938 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.5755, allocations: 0 / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.5755, allocations: 0 / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.5755, allocations: 0 / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.602e-05/0.5756, allocations: 87.3 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001852/0.5758, allocations: 16 kB / 1.018 GB, free: 2.223 MB / 0.6355 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.0001626/0.576, allocations: 115.2 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.546e-05/0.576, allocations: 14.81 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.576, allocations: 0 / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.233e-05/0.5761, allocations: 15.92 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.5762, allocations: 19.73 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.5764, allocations: 55.95 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.5767, allocations: 0.6919 MB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.5767, allocations: 0 / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of Templates: time 0.002565/0.5793, allocations: 0.8853 MB / 1.02 GB, free: 412 kB / 0.6355 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