Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [: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.921/1.921, allocations: 390.4 MB / 397.7 MB, free: 11.19 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.001212/0.001212, allocations: 181.2 kB / 490.8 MB, free: 1.898 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.391/1.391, allocations: 221.4 MB / 0.7863 GB, free: 13.6 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.0009779/0.0009778, allocations: 90.61 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.198e-06/9.437e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2652, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.112/3.378, allocations: 1.731 GB / 2.943 GB, free: 148.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/3.378, allocations: 79.95 kB / 2.943 GB, free: 148.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1474/3.525, allocations: 85.86 MB / 3.027 GB, free: 61.22 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.216e-05/3.526, allocations: 0 / 3.027 GB, free: 61.22 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007008/3.526, allocations: 0.4943 MB / 3.027 GB, free: 60.68 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/3.526, allocations: 12.03 kB / 3.027 GB, free: 60.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007758/3.527, allocations: 87.61 kB / 3.027 GB, free: 60.58 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/3.527, allocations: 225.7 kB / 3.027 GB, free: 60.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/3.527, allocations: 34.03 kB / 3.027 GB, free: 60.28 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/3.527, allocations: 8 kB / 3.027 GB, free: 60.27 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002121/3.528, allocations: 116.6 kB / 3.028 GB, free: 60.16 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/3.528, allocations: 215.4 kB / 3.028 GB, free: 59.92 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/3.528, allocations: 3.938 kB / 3.028 GB, free: 59.92 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/3.528, allocations: 4 kB / 3.028 GB, free: 59.91 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/3.528, allocations: 11.91 kB / 3.028 GB, free: 59.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/3.529, allocations: 1.138 MB / 3.029 GB, free: 58.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006324/3.53, allocations: 182.7 kB / 3.029 GB, free: 58.51 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/3.53, allocations: 52.86 kB / 3.029 GB, free: 58.46 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/3.53, allocations: 7.906 kB / 3.029 GB, free: 58.45 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/3.53, allocations: 42.55 kB / 3.029 GB, free: 58.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/3.53, allocations: 0 / 3.029 GB, free: 58.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=12): time 0.001212/3.531, allocations: 267 kB / 3.029 GB, free: 58.12 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/3.531, allocations: 51.62 kB / 3.029 GB, free: 58.06 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/3.531, allocations: 139 kB / 3.03 GB, free: 57.92 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/3.532, allocations: 33.64 kB / 3.03 GB, free: 57.88 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/3.532, allocations: 143.7 kB / 3.03 GB, free: 57.74 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/3.532, allocations: 39.36 kB / 3.03 GB, free: 57.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/3.532, allocations: 0 / 3.03 GB, free: 57.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/3.532, allocations: 322.8 kB / 3.03 GB, free: 57.38 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.709e-05/3.532, allocations: 52.36 kB / 3.03 GB, free: 57.32 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/3.532, allocations: 117.9 kB / 3.03 GB, free: 57.18 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/3.532, allocations: 61.19 kB / 3.03 GB, free: 57.12 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/3.532, allocations: 4 kB / 3.03 GB, free: 57.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001166/3.533, allocations: 314.9 kB / 3.031 GB, free: 56.79 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/3.533, allocations: 8 kB / 3.031 GB, free: 56.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/3.533, allocations: 224 / 3.031 GB, free: 56.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/3.534, allocations: 165.5 kB / 3.031 GB, free: 56.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/3.535, allocations: 47.89 kB / 3.031 GB, free: 56.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/3.537, allocations: 2.898 MB / 3.034 GB, free: 53.43 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/3.538, allocations: 35.77 kB / 3.034 GB, free: 53.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/3.538, allocations: 8 kB / 3.034 GB, free: 53.39 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 8.186e-05/3.538, allocations: 108.9 kB / 3.034 GB, free: 53.28 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/3.538, allocations: 19.88 kB / 3.034 GB, free: 53.26 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/3.539, allocations: 327.5 kB / 3.034 GB, free: 52.93 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/3.539, allocations: 192 / 3.034 GB, free: 52.93 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/3.539, allocations: 7.906 kB / 3.034 GB, free: 52.92 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/3.539, allocations: 3.984 kB / 3.034 GB, free: 52.91 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/3.539, allocations: 233.9 kB / 3.034 GB, free: 52.65 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/3.539, allocations: 0 / 3.034 GB, free: 52.65 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/3.539, allocations: 31.97 kB / 3.034 GB, free: 52.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009287/3.54, allocations: 161.5 kB / 3.035 GB, free: 52.45 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/3.54, allocations: 8 kB / 3.035 GB, free: 52.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002694/3.543, allocations: 2.941 MB / 3.037 GB, free: 49.26 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/3.543, allocations: 4.062 kB / 3.037 GB, free: 49.25 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001009/3.544, allocations: 387.7 kB / 3.038 GB, free: 48.86 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/3.544, allocations: 112.8 kB / 3.038 GB, free: 48.73 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/3.544, allocations: 3.938 kB / 3.038 GB, free: 48.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/3.545, allocations: 19.98 kB / 3.038 GB, free: 48.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/3.545, allocations: 11.97 kB / 3.038 GB, free: 48.69 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/3.545, allocations: 4 kB / 3.038 GB, free: 48.69 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.072e-05/3.545, allocations: 120.1 kB / 3.038 GB, free: 48.57 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005194/3.545, allocations: 107.8 kB / 3.038 GB, free: 48.46 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007702/3.546, allocations: 0.8471 MB / 3.039 GB, free: 47.61 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007093/3.547, allocations: 371.9 kB / 3.039 GB, free: 47.23 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/3.547, allocations: 4 kB / 3.039 GB, free: 47.23 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000472/3.547, allocations: 307.5 kB / 3.04 GB, free: 46.91 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/3.548, allocations: 31.88 kB / 3.04 GB, free: 46.88 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/3.548, allocations: 311.8 kB / 3.04 GB, free: 46.54 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/3.549, allocations: 0.761 MB / 3.041 GB, free: 45.76 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/3.549, allocations: 0 / 3.041 GB, free: 45.76 MB / 1.151 GB Notification: Performance of Templates: time 0.01153/3.56, allocations: 8.918 MB / 3.049 GB, free: 36.87 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches