Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.945/1.945, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001129/0.001129, allocations: 183.9 kB / 487 MB, free: 5.414 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.327/1.327, allocations: 221.3 MB / 0.7819 GB, free: 1.484 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.0009761/0.0009761, allocations: 89.89 kB / 0.9213 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.636e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2549, allocations: 142.3 MB / 1.205 GB, free: 26.31 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.061/3.316, allocations: 1.714 GB / 2.919 GB, free: 146.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/3.317, allocations: 79.95 kB / 2.919 GB, free: 146.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.09652/3.413, allocations: 55.63 MB / 2.974 GB, free: 89.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.848e-06/3.413, allocations: 0 / 2.974 GB, free: 89.98 MB / 1.151 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.000602/3.414, allocations: 470.1 kB / 2.974 GB, free: 89.48 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/3.414, allocations: 8.031 kB / 2.974 GB, free: 89.47 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000569/3.414, allocations: 59.95 kB / 2.974 GB, free: 89.41 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/3.415, allocations: 206.8 kB / 2.974 GB, free: 89.17 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/3.415, allocations: 4 kB / 2.974 GB, free: 89.17 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/3.415, allocations: 4 kB / 2.974 GB, free: 89.16 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000195/3.415, allocations: 75.97 kB / 2.975 GB, free: 89.09 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/3.415, allocations: 142.9 kB / 2.975 GB, free: 88.93 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/3.415, allocations: 4 kB / 2.975 GB, free: 88.93 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/3.415, allocations: 0 / 2.975 GB, free: 88.93 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/3.415, allocations: 4 kB / 2.975 GB, free: 88.92 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008786/3.416, allocations: 0.8097 MB / 2.975 GB, free: 88.05 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/3.416, allocations: 90.53 kB / 2.976 GB, free: 87.95 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/3.416, allocations: 48.84 kB / 2.976 GB, free: 87.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/3.416, allocations: 4 kB / 2.976 GB, free: 87.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/3.416, allocations: 38.5 kB / 2.976 GB, free: 87.85 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/3.416, allocations: 4 kB / 2.976 GB, free: 87.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.0007822/3.417, allocations: 190.2 kB / 2.976 GB, free: 87.65 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.564e-05/3.417, allocations: 51.41 kB / 2.976 GB, free: 87.59 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.126e-05/3.417, allocations: 117.2 kB / 2.976 GB, free: 87.46 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/3.417, allocations: 25.7 kB / 2.976 GB, free: 87.43 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/3.417, allocations: 111.9 kB / 2.976 GB, free: 87.32 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/3.417, allocations: 23.66 kB / 2.976 GB, free: 87.29 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/3.417, allocations: 0 / 2.976 GB, free: 87.29 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.357e-05/3.417, allocations: 322.7 kB / 2.976 GB, free: 86.97 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/3.417, allocations: 35.98 kB / 2.976 GB, free: 86.93 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.071e-05/3.418, allocations: 93.94 kB / 2.977 GB, free: 86.82 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.866e-05/3.418, allocations: 51.97 kB / 2.977 GB, free: 86.77 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/3.418, allocations: 0 / 2.977 GB, free: 86.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006963/3.418, allocations: 210.4 kB / 2.977 GB, free: 86.55 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/3.418, allocations: 8 kB / 2.977 GB, free: 86.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/3.418, allocations: 0 / 2.977 GB, free: 86.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/3.419, allocations: 88.89 kB / 2.977 GB, free: 86.46 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/3.419, allocations: 47.89 kB / 2.977 GB, free: 86.41 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/3.421, allocations: 1.484 MB / 2.978 GB, free: 84.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/3.421, allocations: 35.94 kB / 2.978 GB, free: 84.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/3.421, allocations: 7.984 kB / 2.978 GB, free: 84.76 MB / 1.151 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.36e-05/3.421, allocations: 109 kB / 2.979 GB, free: 84.65 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/3.421, allocations: 11.81 kB / 2.979 GB, free: 84.64 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/3.422, allocations: 238.9 kB / 2.979 GB, free: 84.39 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/3.422, allocations: 7.938 kB / 2.979 GB, free: 84.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/3.422, allocations: 0 / 2.979 GB, free: 84.39 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/3.422, allocations: 3.906 kB / 2.979 GB, free: 84.38 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/3.422, allocations: 218.1 kB / 2.979 GB, free: 84.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/3.422, allocations: 0 / 2.979 GB, free: 84.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/3.422, allocations: 43.88 kB / 2.979 GB, free: 84.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/3.423, allocations: 88.77 kB / 2.979 GB, free: 84 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/3.423, allocations: 0 / 2.979 GB, free: 84 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/3.424, allocations: 1.504 MB / 2.981 GB, free: 82.38 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/3.424, allocations: 0 / 2.981 GB, free: 82.38 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006417/3.425, allocations: 314.4 kB / 2.981 GB, free: 82.05 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/3.425, allocations: 88.92 kB / 2.981 GB, free: 81.95 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/3.425, allocations: 0 / 2.981 GB, free: 81.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/3.425, allocations: 23.98 kB / 2.981 GB, free: 81.93 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/3.425, allocations: 7.984 kB / 2.981 GB, free: 81.92 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/3.425, allocations: 3.984 kB / 2.981 GB, free: 81.91 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.594e-05/3.425, allocations: 97.78 kB / 2.981 GB, free: 81.82 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003909/3.426, allocations: 87.81 kB / 2.981 GB, free: 81.73 MB / 1.151 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.0006475/3.426, allocations: 0.7111 MB / 2.982 GB, free: 81.02 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004609/3.427, allocations: 233.6 kB / 2.982 GB, free: 80.78 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/3.427, allocations: 4.25 kB / 2.982 GB, free: 80.77 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/3.427, allocations: 177.8 kB / 2.982 GB, free: 80.59 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/3.427, allocations: 15.94 kB / 2.982 GB, free: 80.57 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000623/3.428, allocations: 223.1 kB / 2.983 GB, free: 80.33 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/3.428, allocations: 0.7384 MB / 2.983 GB, free: 79.57 MB / 1.151 GB Notification: Performance of SimCode: time 2.2e-07/3.428, allocations: 0 / 2.983 GB, free: 79.57 MB / 1.151 GB Notification: Performance of Templates: time 0.008998/3.437, allocations: 6.645 MB / 2.99 GB, free: 72.95 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches