Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.219/1.219, 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.0009665/0.0009665, allocations: 188.1 kB / 316 MB, free: 3.52 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.052/1.052, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.000795/0.0007951, allocations: 90.03 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.452e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1539, allocations: 106.3 MB / 0.8845 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.329/3.483, allocations: 2.192 GB / 3.077 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/3.483, allocations: 83.95 kB / 3.077 GB, free: 212 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1456/3.629, allocations: 87.36 MB / 3.162 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.22e-05/3.629, allocations: 12.12 kB / 3.162 GB, free: 122.8 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006624/3.63, allocations: 0.5011 MB / 3.163 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/3.63, allocations: 12.03 kB / 3.163 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007507/3.631, allocations: 83.7 kB / 3.163 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/3.631, allocations: 226.4 kB / 3.163 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.488e-05/3.631, allocations: 34.03 kB / 3.163 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/3.631, allocations: 8 kB / 3.163 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002044/3.631, allocations: 116.6 kB / 3.163 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/3.631, allocations: 214.3 kB / 3.163 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/3.631, allocations: 0 / 3.163 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/3.631, allocations: 3.938 kB / 3.164 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/3.631, allocations: 8 kB / 3.164 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/3.633, allocations: 1.15 MB / 3.165 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/3.633, allocations: 179.7 kB / 3.165 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/3.633, allocations: 52.84 kB / 3.165 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/3.633, allocations: 15.98 kB / 3.165 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/3.633, allocations: 30.56 kB / 3.165 GB, free: 120 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/3.633, allocations: 0 / 3.165 GB, free: 120 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.001185/3.635, allocations: 267 kB / 3.165 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.518e-05/3.635, allocations: 55.41 kB / 3.165 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/3.635, allocations: 143.1 kB / 3.165 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/3.635, allocations: 25.7 kB / 3.165 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/3.635, allocations: 135.9 kB / 3.165 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/3.635, allocations: 43.39 kB / 3.166 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/3.635, allocations: 224 / 3.166 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 3.782e-05/3.635, allocations: 322.8 kB / 3.166 GB, free: 119 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/3.635, allocations: 56.3 kB / 3.166 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-05/3.635, allocations: 113.1 kB / 3.166 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/3.635, allocations: 67.81 kB / 3.166 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/3.635, allocations: 4.031 kB / 3.166 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001185/3.636, allocations: 318.9 kB / 3.166 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/3.636, allocations: 6.5 kB / 3.166 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/3.636, allocations: 4 kB / 3.166 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/3.638, allocations: 161.8 kB / 3.167 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/3.638, allocations: 55.89 kB / 3.167 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/3.641, allocations: 2.906 MB / 3.169 GB, free: 115 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/3.641, allocations: 31.83 kB / 3.169 GB, free: 115 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/3.641, allocations: 7.984 kB / 3.169 GB, free: 115 MB / 0.8698 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 7.12e-05/3.641, allocations: 112.8 kB / 3.17 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/3.641, allocations: 15.97 kB / 3.17 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/3.642, allocations: 323.4 kB / 3.17 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/3.642, allocations: 4 kB / 3.17 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/3.642, allocations: 0 / 3.17 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/3.642, allocations: 0 / 3.17 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/3.643, allocations: 234 kB / 3.17 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/3.643, allocations: 3.906 kB / 3.17 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/3.643, allocations: 31.97 kB / 3.17 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009452/3.644, allocations: 165.7 kB / 3.17 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/3.644, allocations: 0 / 3.17 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/3.646, allocations: 2.945 MB / 3.173 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/3.646, allocations: 0 / 3.173 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009961/3.647, allocations: 388.9 kB / 3.174 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/3.647, allocations: 104.9 kB / 3.174 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/3.647, allocations: 0 / 3.174 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/3.648, allocations: 23.97 kB / 3.174 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/3.648, allocations: 19.83 kB / 3.174 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/3.648, allocations: 4.125 kB / 3.174 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.451e-05/3.648, allocations: 119.4 kB / 3.174 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004476/3.648, allocations: 107.9 kB / 3.174 GB, free: 110.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 (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.0006885/3.649, allocations: 0.8343 MB / 3.175 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000662/3.65, allocations: 378.2 kB / 3.175 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/3.65, allocations: 0 / 3.175 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004605/3.65, allocations: 319.4 kB / 3.175 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/3.65, allocations: 29.09 kB / 3.175 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007339/3.651, allocations: 315.7 kB / 3.176 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/3.651, allocations: 0.7569 MB / 3.176 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/3.651, allocations: 0 / 3.176 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.01074/3.662, allocations: 8.911 MB / 3.185 GB, free: 98.49 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches