Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [: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.207/1.207, allocations: 249.4 MB / 256.7 MB, free: 7.055 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.001032/0.001032, allocations: 185.2 kB / 316 MB, free: 3.574 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.085/1.085, allocations: 205.1 MB / 0.5667 GB, free: 15.71 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.0008127/0.0008127, allocations: 101.2 kB / 0.671 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.715e-06/7.735e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1518, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6058/0.7576, allocations: 353.8 MB / 1.23 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.758, allocations: 85.14 kB / 1.23 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.02413/0.7821, allocations: 12.06 MB / 1.242 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.7822, allocations: 0 / 1.242 GB, free: 7.504 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004094/0.7826, allocations: 374.1 kB / 1.242 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.7826, allocations: 12.03 kB / 1.242 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.7827, allocations: 7.906 kB / 1.242 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.7828, allocations: 174.9 kB / 1.242 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.7828, allocations: 0 / 1.242 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.7828, allocations: 7.938 kB / 1.242 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001354/0.783, allocations: 59.59 kB / 1.243 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.7831, allocations: 69.11 kB / 1.243 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.7831, allocations: 0 / 1.243 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.7831, allocations: 0 / 1.243 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.7831, allocations: 0 / 1.243 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.7836, allocations: 295.6 kB / 1.243 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.7837, allocations: 77.27 kB / 1.243 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.7837, allocations: 32.3 kB / 1.243 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000725/0.7845, allocations: 0.7545 MB / 1.244 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.7845, allocations: 38.55 kB / 1.244 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.7845, allocations: 0 / 1.244 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0003544/0.7849, allocations: 108.6 kB / 1.244 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.7849, allocations: 59.34 kB / 1.244 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.243e-05/0.785, allocations: 108.5 kB / 1.244 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.785, allocations: 29.7 kB / 1.244 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.785, allocations: 84.05 kB / 1.244 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.7851, allocations: 27.58 kB / 1.244 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.7851, allocations: 0 / 1.244 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.7852, allocations: 318.6 kB / 1.244 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.481e-05/0.7852, allocations: 21.3 kB / 1.244 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.381e-05/0.7853, allocations: 33.34 kB / 1.244 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.7855, allocations: 59.42 kB / 1.245 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.7855, allocations: 3.938 kB / 1.245 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002738/0.7857, allocations: 128.8 kB / 1.245 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7858, allocations: 6.344 kB / 1.245 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7858, allocations: 0 / 1.245 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.7858, allocations: 3.906 kB / 1.245 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.7859, allocations: 19.98 kB / 1.245 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.786, allocations: 4 kB / 1.245 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.786, allocations: 4 kB / 1.245 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.7861, allocations: 15.7 kB / 1.245 GB, free: 4.488 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.7862, allocations: 104.9 kB / 1.245 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.7862, allocations: 11.84 kB / 1.245 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.7866, allocations: 133 kB / 1.245 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7866, allocations: 4 kB / 1.245 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7866, allocations: 0 / 1.245 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.7866, allocations: 0 / 1.245 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.7867, allocations: 165.9 kB / 1.245 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.7867, allocations: 0 / 1.245 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.7869, allocations: 23.92 kB / 1.245 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.7869, allocations: 4 kB / 1.245 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.7869, allocations: 4 kB / 1.245 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7869, allocations: 7.984 kB / 1.245 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7869, allocations: 0 / 1.245 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002854/0.7872, allocations: 205.9 kB / 1.245 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.7872, allocations: 93 kB / 1.245 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.7873, allocations: 0 / 1.245 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.7874, allocations: 8 kB / 1.245 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.7874, allocations: 3.984 kB / 1.245 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.7874, allocations: 7.812 kB / 1.245 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.605e-05/0.7875, allocations: 91.64 kB / 1.246 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000237/0.7877, allocations: 27.84 kB / 1.246 GB, free: 3.594 MB / 0.8542 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002264/0.7879, allocations: 135.2 kB / 1.246 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.7881, allocations: 63.44 kB / 1.246 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.7881, allocations: 0 / 1.246 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/0.7881, allocations: 31.42 kB / 1.246 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.7883, allocations: 4.266 kB / 1.246 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.7886, allocations: 107 kB / 1.246 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.7888, allocations: 0.7036 MB / 1.247 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of SimCode: time 2.3e-07/0.7888, allocations: 4.062 kB / 1.247 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of Templates: time 0.003245/0.7921, allocations: 1.287 MB / 1.248 GB, free: 1.273 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches