Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.205/1.205, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.0009481/0.0009482, allocations: 189.2 kB / 316 MB, free: 3.508 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.081/1.081, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.0008416/0.0008417, allocations: 90.14 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.671e-06/5.681e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1593, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.6054, allocations: 133.3 MB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.6057, allocations: 74.95 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005741/0.6114, allocations: 1.648 MB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.6114, allocations: 0 / 1.016 GB, free: 3.875 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003285/0.6118, allocations: 370 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.6118, allocations: 8.031 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/0.6122, allocations: 31.95 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.6123, allocations: 167 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.6123, allocations: 0 / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.6123, allocations: 0.75 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.352e-05/0.6124, allocations: 22.31 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.6125, allocations: 48.91 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.6125, allocations: 0 / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.6125, allocations: 0 / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.6125, allocations: 0 / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.6129, allocations: 258.8 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.456e-05/0.613, allocations: 36.88 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.6131, allocations: 16.61 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.6131, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.6131, allocations: 41.48 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.6131, allocations: 6.625 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001674/0.6133, allocations: 52.59 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.6133, allocations: 51.41 kB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.693e-05/0.6134, allocations: 100.3 kB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.6134, allocations: 25.7 kB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.6135, allocations: 84.14 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.6135, allocations: 7.891 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.6135, allocations: 0 / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.6136, allocations: 318.1 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.6136, allocations: 7.562 kB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.881e-05/0.6136, allocations: 11.44 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.51e-05/0.6137, allocations: 11.17 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6137, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001002/0.6138, allocations: 52.81 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.6138, allocations: 6.812 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.6138, allocations: 0 / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.6138, allocations: 3.906 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.614, allocations: 25.19 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.614, allocations: 0 / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.967e-05/0.6141, allocations: 11.98 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.6141, allocations: 4 kB / 1.018 GB, free: 2.012 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.658e-05/0.6142, allocations: 108.9 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.6142, allocations: 3.906 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.6143, allocations: 11.27 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.6143, allocations: 3.938 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.6143, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.6143, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.6144, allocations: 150 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6144, allocations: 3.984 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.6146, allocations: 15.98 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6146, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.6146, allocations: 7.906 kB / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.6146, allocations: 0 / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6146, allocations: 5.312 kB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001282/0.6147, allocations: 154.5 kB / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.6148, allocations: 81.02 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.6148, allocations: 0 / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.6149, allocations: 11.98 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.615, allocations: 4.031 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.615, allocations: 7.984 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.488e-05/0.615, allocations: 77.72 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002141/0.6152, allocations: 19.94 kB / 1.019 GB, free: 1.305 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.0001389/0.6154, allocations: 118.5 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.6155, allocations: 22.42 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.6155, allocations: 0 / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.6155, allocations: 15.44 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.6157, allocations: 9.344 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.616, allocations: 79.33 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.6162, allocations: 0.6958 MB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.6162, allocations: 0 / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of Templates: time 0.002536/0.6188, allocations: 0.9228 MB / 1.021 GB, free: 15.41 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches