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") [: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.212/1.212, allocations: 249.4 MB / 256.7 MB, free: 6.93 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.0009616/0.0009616, allocations: 188.7 kB / 316 MB, free: 3.555 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.064/1.064, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0009283/0.0009283, allocations: 89.31 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.761e-06/5.771e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1421, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.251/3.393, allocations: 2.174 GB / 3.058 GB, free: 232 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/3.393, allocations: 87.94 kB / 3.058 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.04481/3.438, allocations: 26.06 MB / 3.084 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.685e-06/3.438, allocations: 0 / 3.084 GB, free: 205.6 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.0002176/3.439, allocations: 350.3 kB / 3.084 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/3.439, allocations: 8.031 kB / 3.084 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/3.439, allocations: 39.94 kB / 3.084 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.675e-05/3.439, allocations: 166.9 kB / 3.084 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/3.439, allocations: 4 kB / 3.084 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/3.439, allocations: 0 / 3.084 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.328e-05/3.439, allocations: 11.98 kB / 3.084 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.804e-05/3.439, allocations: 41.67 kB / 3.084 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/3.439, allocations: 0 / 3.084 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/3.439, allocations: 0 / 3.084 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/3.439, allocations: 0 / 3.084 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/3.44, allocations: 229.4 kB / 3.084 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.469e-05/3.44, allocations: 26.52 kB / 3.084 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/3.44, allocations: 8.922 kB / 3.084 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/3.44, allocations: 0 / 3.084 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/3.44, allocations: 34.56 kB / 3.085 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/3.44, allocations: 0 / 3.085 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001321/3.44, allocations: 37.7 kB / 3.085 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/3.44, allocations: 59.31 kB / 3.085 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/3.44, allocations: 101 kB / 3.085 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/3.44, allocations: 25.7 kB / 3.085 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/3.44, allocations: 88.08 kB / 3.085 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.302e-06/3.44, allocations: 7.844 kB / 3.085 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/3.44, allocations: 0 / 3.085 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.691e-05/3.44, allocations: 318.8 kB / 3.085 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/3.44, allocations: 11.97 kB / 3.085 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/3.44, allocations: 4 kB / 3.085 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.653e-05/3.44, allocations: 7.984 kB / 3.085 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/3.44, allocations: 0 / 3.085 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.195e-05/3.44, allocations: 49.59 kB / 3.085 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/3.44, allocations: 7.938 kB / 3.085 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/3.44, allocations: 0 / 3.085 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/3.44, allocations: 0 / 3.085 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/3.44, allocations: 11.98 kB / 3.085 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/3.441, allocations: 0 / 3.085 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/3.441, allocations: 15.98 kB / 3.085 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/3.441, allocations: 0 / 3.085 GB, free: 203.8 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 4.628e-05/3.441, allocations: 101 kB / 3.085 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/3.441, allocations: 3.906 kB / 3.085 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/3.441, allocations: 19.25 kB / 3.085 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/3.441, allocations: 0 / 3.085 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/3.441, allocations: 0 / 3.085 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/3.441, allocations: 0 / 3.085 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.042e-05/3.441, allocations: 142.1 kB / 3.085 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/3.441, allocations: 0 / 3.085 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/3.441, allocations: 4 kB / 3.085 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/3.441, allocations: 0 / 3.085 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/3.441, allocations: 0 / 3.085 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/3.441, allocations: 4 kB / 3.086 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/3.441, allocations: 0 / 3.086 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.94e-05/3.441, allocations: 135.5 kB / 3.086 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/3.441, allocations: 85.14 kB / 3.086 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/3.441, allocations: 0 / 3.086 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-05/3.441, allocations: 3.984 kB / 3.086 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/3.441, allocations: 4 kB / 3.086 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/3.441, allocations: 0 / 3.086 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.08e-05/3.441, allocations: 84.66 kB / 3.086 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002809/3.442, allocations: 51.92 kB / 3.086 GB, free: 203.1 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.0005698/3.442, allocations: 0.676 MB / 3.087 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.037e-05/3.442, allocations: 19.94 kB / 3.087 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/3.442, allocations: 0 / 3.087 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.294e-06/3.442, allocations: 4 kB / 3.087 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/3.442, allocations: 7.984 kB / 3.087 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001698/3.443, allocations: 60.11 kB / 3.087 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/3.443, allocations: 0.6919 MB / 3.087 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/3.443, allocations: 0 / 3.087 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.005766/3.449, allocations: 4.082 MB / 3.091 GB, free: 197.5 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