Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [: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.198/1.198, allocations: 249.4 MB / 256.7 MB, free: 6.961 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.001047/0.001047, allocations: 193.2 kB / 316 MB, free: 3.547 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.034/1.034, allocations: 205.2 MB / 0.5667 GB, free: 15.63 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.0008075/0.0008075, allocations: 93.52 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.094e-06/7.104e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1546, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.438/3.593, allocations: 2.175 GB / 3.06 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/3.593, allocations: 78.77 kB / 3.06 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.09417/3.688, allocations: 56.43 MB / 3.115 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.049e-05/3.688, allocations: 4.219 kB / 3.115 GB, free: 139.5 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006197/3.688, allocations: 470 kB / 3.115 GB, free: 139 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/3.688, allocations: 8.031 kB / 3.115 GB, free: 139 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/3.689, allocations: 59.83 kB / 3.116 GB, free: 139 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/3.689, allocations: 194.9 kB / 3.116 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/3.689, allocations: 4 kB / 3.116 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/3.689, allocations: 11.91 kB / 3.116 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001784/3.689, allocations: 83.86 kB / 3.116 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/3.689, allocations: 145.9 kB / 3.116 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/3.689, allocations: 0 / 3.116 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/3.689, allocations: 0 / 3.116 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/3.689, allocations: 4 kB / 3.116 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008659/3.69, allocations: 0.8016 MB / 3.117 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/3.69, allocations: 102.5 kB / 3.117 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.638e-05/3.691, allocations: 44.86 kB / 3.117 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/3.691, allocations: 8.125 kB / 3.117 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/3.691, allocations: 30.56 kB / 3.117 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/3.691, allocations: 4 kB / 3.117 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0007703/3.691, allocations: 182.3 kB / 3.117 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.605e-05/3.691, allocations: 55.41 kB / 3.117 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/3.692, allocations: 121.1 kB / 3.117 GB, free: 137 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/3.692, allocations: 25.7 kB / 3.117 GB, free: 137 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/3.692, allocations: 104 kB / 3.117 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/3.692, allocations: 39.48 kB / 3.117 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/3.692, allocations: 3.938 kB / 3.117 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.158e-05/3.692, allocations: 318.8 kB / 3.118 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.6e-05/3.692, allocations: 39.98 kB / 3.118 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.586e-05/3.692, allocations: 82 kB / 3.118 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.719e-05/3.692, allocations: 48 kB / 3.118 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/3.692, allocations: 0 / 3.118 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006718/3.693, allocations: 222.1 kB / 3.118 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/3.693, allocations: 6.031 kB / 3.118 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/3.693, allocations: 4.156 kB / 3.118 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005756/3.693, allocations: 88.88 kB / 3.118 GB, free: 136 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/3.693, allocations: 43.95 kB / 3.118 GB, free: 136 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/3.695, allocations: 1.48 MB / 3.12 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/3.695, allocations: 35.89 kB / 3.12 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/3.695, allocations: 7.984 kB / 3.12 GB, free: 134.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 6.169e-05/3.695, allocations: 105 kB / 3.12 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/3.695, allocations: 7.906 kB / 3.12 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006934/3.696, allocations: 252.1 kB / 3.12 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/3.696, allocations: 4.188 kB / 3.12 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/3.696, allocations: 0 / 3.12 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/3.696, allocations: 3.984 kB / 3.12 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/3.696, allocations: 206 kB / 3.12 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/3.696, allocations: 4 kB / 3.12 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/3.696, allocations: 39.95 kB / 3.12 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/3.697, allocations: 84.77 kB / 3.12 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/3.697, allocations: 8 kB / 3.12 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/3.698, allocations: 1.507 MB / 3.122 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/3.698, allocations: 3.938 kB / 3.122 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006243/3.699, allocations: 320.1 kB / 3.122 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/3.699, allocations: 81.02 kB / 3.122 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/3.699, allocations: 0 / 3.122 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/3.699, allocations: 27.97 kB / 3.122 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/3.699, allocations: 11.89 kB / 3.122 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/3.699, allocations: 4 kB / 3.122 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.209e-05/3.699, allocations: 99.27 kB / 3.122 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003736/3.7, allocations: 79.92 kB / 3.123 GB, free: 131.3 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005945/3.7, allocations: 0.7002 MB / 3.123 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004508/3.701, allocations: 229.7 kB / 3.123 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/3.701, allocations: 0 / 3.123 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002904/3.701, allocations: 196 kB / 3.124 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/3.701, allocations: 19.92 kB / 3.124 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/3.702, allocations: 219.2 kB / 3.124 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/3.702, allocations: 0.7267 MB / 3.125 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/3.702, allocations: 0 / 3.125 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.008502/3.711, allocations: 6.635 MB / 3.131 GB, free: 122.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches