Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.915/1.915, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.00103/0.00103, allocations: 183 kB / 490.8 MB, free: 1.891 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.314/1.314, allocations: 221.3 MB / 0.7863 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 104 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.216e-06/8.246e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2739, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.01/3.284, allocations: 1.715 GB / 2.926 GB, free: 158.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/3.284, allocations: 87.89 kB / 2.927 GB, free: 158.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.09803/3.382, allocations: 55.62 MB / 2.981 GB, free: 101.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.203e-05/3.382, allocations: 4.219 kB / 2.981 GB, free: 101.6 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.0006577/3.383, allocations: 474 kB / 2.981 GB, free: 101.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/3.383, allocations: 8.031 kB / 2.981 GB, free: 101 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000601/3.384, allocations: 63.73 kB / 2.981 GB, free: 101 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/3.384, allocations: 196 kB / 2.982 GB, free: 100.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/3.384, allocations: 4 kB / 2.982 GB, free: 100.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/3.384, allocations: 4 kB / 2.982 GB, free: 100.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002059/3.384, allocations: 83.97 kB / 2.982 GB, free: 100.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/3.384, allocations: 142.9 kB / 2.982 GB, free: 100.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/3.384, allocations: 3.938 kB / 2.982 GB, free: 100.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/3.384, allocations: 4 kB / 2.982 GB, free: 100.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/3.384, allocations: 0 / 2.982 GB, free: 100.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000962/3.385, allocations: 0.7937 MB / 2.983 GB, free: 99.63 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/3.386, allocations: 102.5 kB / 2.983 GB, free: 99.52 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.479e-05/3.386, allocations: 48.84 kB / 2.983 GB, free: 99.47 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/3.386, allocations: 4 kB / 2.983 GB, free: 99.47 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/3.386, allocations: 34.56 kB / 2.983 GB, free: 99.43 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/3.386, allocations: 0 / 2.983 GB, free: 99.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.0008169/3.386, allocations: 198.4 kB / 2.983 GB, free: 99.22 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/3.387, allocations: 55.34 kB / 2.983 GB, free: 99.16 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.701e-05/3.387, allocations: 113.2 kB / 2.983 GB, free: 99.04 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/3.387, allocations: 25.7 kB / 2.983 GB, free: 99 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/3.387, allocations: 111.9 kB / 2.983 GB, free: 98.89 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/3.387, allocations: 27.59 kB / 2.983 GB, free: 98.86 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/3.387, allocations: 0 / 2.983 GB, free: 98.86 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.531e-05/3.387, allocations: 322.8 kB / 2.984 GB, free: 98.54 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/3.387, allocations: 35.98 kB / 2.984 GB, free: 98.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/3.387, allocations: 86 kB / 2.984 GB, free: 98.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.006e-05/3.387, allocations: 48.06 kB / 2.984 GB, free: 98.35 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/3.387, allocations: 3.906 kB / 2.984 GB, free: 98.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007171/3.388, allocations: 214.2 kB / 2.984 GB, free: 98.13 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/3.388, allocations: 8 kB / 2.984 GB, free: 98.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/3.388, allocations: 0 / 2.984 GB, free: 98.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006034/3.388, allocations: 84.89 kB / 2.984 GB, free: 98.04 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/3.389, allocations: 47.95 kB / 2.984 GB, free: 97.99 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/3.39, allocations: 1.488 MB / 2.986 GB, free: 96.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/3.39, allocations: 28 kB / 2.986 GB, free: 96.35 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/3.391, allocations: 7.984 kB / 2.986 GB, free: 96.34 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 7.268e-05/3.391, allocations: 112.9 kB / 2.986 GB, free: 96.23 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/3.391, allocations: 11.81 kB / 2.986 GB, free: 96.21 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000732/3.391, allocations: 255 kB / 2.986 GB, free: 95.96 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/3.391, allocations: 0 / 2.986 GB, free: 95.96 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/3.391, allocations: 0 / 2.986 GB, free: 95.96 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/3.391, allocations: 0 / 2.986 GB, free: 95.96 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/3.392, allocations: 218 kB / 2.986 GB, free: 95.71 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/3.392, allocations: 0 / 2.986 GB, free: 95.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/3.392, allocations: 35.97 kB / 2.986 GB, free: 95.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004932/3.392, allocations: 92.7 kB / 2.986 GB, free: 95.58 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/3.392, allocations: 3.906 kB / 2.986 GB, free: 95.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/3.394, allocations: 1.496 MB / 2.988 GB, free: 93.96 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/3.394, allocations: 8 kB / 2.988 GB, free: 93.95 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006457/3.394, allocations: 321.5 kB / 2.988 GB, free: 93.62 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/3.394, allocations: 88.92 kB / 2.988 GB, free: 93.52 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/3.395, allocations: 0 / 2.988 GB, free: 93.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/3.395, allocations: 19.98 kB / 2.988 GB, free: 93.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/3.395, allocations: 7.984 kB / 2.988 GB, free: 93.49 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/3.395, allocations: 7.984 kB / 2.988 GB, free: 93.48 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.809e-05/3.395, allocations: 98.25 kB / 2.988 GB, free: 93.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000448/3.395, allocations: 83.91 kB / 2.988 GB, free: 93.3 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.0007275/3.396, allocations: 0.7084 MB / 2.989 GB, free: 92.59 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005106/3.397, allocations: 229.7 kB / 2.989 GB, free: 92.36 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/3.397, allocations: 0 / 2.989 GB, free: 92.36 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003171/3.397, allocations: 193.9 kB / 2.989 GB, free: 92.16 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/3.397, allocations: 15.91 kB / 2.989 GB, free: 92.14 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007236/3.398, allocations: 227.2 kB / 2.99 GB, free: 91.89 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/3.398, allocations: 0.7345 MB / 2.99 GB, free: 91.14 MB / 1.151 GB Notification: Performance of SimCode: time 4.01e-07/3.398, allocations: 0 / 2.99 GB, free: 91.14 MB / 1.151 GB Notification: Performance of Templates: time 0.01105/3.409, allocations: 6.643 MB / 2.997 GB, free: 84.51 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches