Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.914/1.914, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001102/0.001101, allocations: 193.2 kB / 487 MB, free: 5.383 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.359/1.359, allocations: 221.3 MB / 0.7819 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 90.17 kB / 0.9213 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.394e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2679, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.657/0.925, allocations: 149.4 MB / 1.351 GB, free: 16.04 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.9252, allocations: 81.89 kB / 1.351 GB, free: 16.04 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.005206/0.9304, allocations: 1.512 MB / 1.353 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.9304, allocations: 0 / 1.353 GB, free: 15.95 MB / 0.8073 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.0002134/0.9307, allocations: 335.9 kB / 1.353 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.9307, allocations: 10.58 kB / 1.353 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/0.9311, allocations: 26.48 kB / 1.353 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.384e-05/0.9312, allocations: 169.9 kB / 1.353 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.9312, allocations: 3.938 kB / 1.353 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.9312, allocations: 4.859 kB / 1.353 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.517e-05/0.9313, allocations: 19.55 kB / 1.353 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.463e-05/0.9314, allocations: 43.59 kB / 1.353 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.9314, allocations: 0 / 1.353 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.9314, allocations: 1.375 kB / 1.353 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.9314, allocations: 0.75 kB / 1.353 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.9315, allocations: 136.6 kB / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.582e-05/0.9316, allocations: 30.97 kB / 1.353 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.9316, allocations: 14.72 kB / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.9317, allocations: 4 kB / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.252e-05/0.9317, allocations: 36.39 kB / 1.354 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.9317, allocations: 1.188 kB / 1.354 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001525/0.9318, allocations: 45.02 kB / 1.354 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.428e-05/0.9319, allocations: 55.28 kB / 1.354 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.401e-05/0.9319, allocations: 89.08 kB / 1.354 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.9319, allocations: 26.45 kB / 1.354 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.313e-05/0.932, allocations: 84.17 kB / 1.354 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.932, allocations: 14.55 kB / 1.354 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-06/0.932, allocations: 0 / 1.354 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.072e-05/0.932, allocations: 316.3 kB / 1.354 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.9321, allocations: 5.875 kB / 1.354 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.9321, allocations: 8.688 kB / 1.354 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.586e-05/0.9321, allocations: 9.188 kB / 1.354 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.9321, allocations: 1.531 kB / 1.354 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.849e-05/0.9322, allocations: 55.42 kB / 1.354 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.9322, allocations: 4.125 kB / 1.354 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.9322, allocations: 2.047 kB / 1.354 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.9323, allocations: 1.125 kB / 1.354 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.9324, allocations: 7.422 kB / 1.354 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.9324, allocations: 0 / 1.354 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.9325, allocations: 3.234 kB / 1.354 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.9325, allocations: 2.359 kB / 1.354 GB, free: 14.45 MB / 0.8073 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 4.616e-05/0.9325, allocations: 110 kB / 1.354 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.9325, allocations: 3.344 kB / 1.354 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.9326, allocations: 4.188 kB / 1.354 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9326, allocations: 5.094 kB / 1.354 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9326, allocations: 0 / 1.354 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.9326, allocations: 1.312 kB / 1.354 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.243e-05/0.9327, allocations: 143.7 kB / 1.354 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9327, allocations: 6.625 kB / 1.354 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.146e-05/0.9328, allocations: 7.109 kB / 1.354 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.9328, allocations: 0 / 1.354 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.9328, allocations: 2.422 kB / 1.354 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.9328, allocations: 0 / 1.354 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.9328, allocations: 2.688 kB / 1.354 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001157/0.9329, allocations: 77.8 kB / 1.355 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.933, allocations: 86.16 kB / 1.355 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.933, allocations: 2.578 kB / 1.355 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.9331, allocations: 5.031 kB / 1.355 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.9331, allocations: 8.766 kB / 1.355 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.9331, allocations: 2.516 kB / 1.355 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.689e-05/0.9331, allocations: 77.94 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001945/0.9333, allocations: 15.84 kB / 1.355 GB, free: 13.91 MB / 0.8073 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.0001526/0.9335, allocations: 121.8 kB / 1.355 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.483e-05/0.9336, allocations: 17.38 kB / 1.355 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.9336, allocations: 0.8125 kB / 1.355 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.561e-05/0.9336, allocations: 15.17 kB / 1.355 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.9338, allocations: 4.516 kB / 1.355 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.934, allocations: 62.81 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.9343, allocations: 0.6951 MB / 1.356 GB, free: 29.04 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.9343, allocations: 0 / 1.356 GB, free: 29.04 MB / 0.823 GB Notification: Performance of Templates: time 0.002898/0.9372, allocations: 0.8861 MB / 1.356 GB, free: 28.95 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches