Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.053/2.053, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.00117/0.001169, allocations: 181.3 kB / 487 MB, free: 5.348 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.539/1.539, allocations: 221.3 MB / 0.7819 GB, free: 1.34 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.0009753/0.0009753, allocations: 102.1 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.718e-06/9.738e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3167, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.328, allocations: 371.6 MB / 1.568 GB, free: 2.973 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/1.328, allocations: 85.97 kB / 1.568 GB, free: 2.926 MB / 0.9948 GB Notification: Performance of FrontEnd: time 0.02755/1.356, allocations: 12.68 MB / 1.581 GB, free: 9 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.12e-05/1.356, allocations: 5.531 kB / 1.581 GB, free: 8.996 MB / 1.01 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.0004962/1.356, allocations: 381.2 kB / 1.581 GB, free: 8.582 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.357, allocations: 9.031 kB / 1.581 GB, free: 8.574 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/1.357, allocations: 11.28 kB / 1.581 GB, free: 8.566 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/1.357, allocations: 171 kB / 1.581 GB, free: 8.359 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/1.357, allocations: 7.922 kB / 1.581 GB, free: 8.352 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/1.357, allocations: 4 kB / 1.581 GB, free: 8.348 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001533/1.357, allocations: 55.22 kB / 1.581 GB, free: 8.309 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/1.357, allocations: 64.55 kB / 1.581 GB, free: 8.25 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.357, allocations: 0 / 1.581 GB, free: 8.25 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.357, allocations: 0 / 1.581 GB, free: 8.25 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.357, allocations: 4 kB / 1.581 GB, free: 8.246 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/1.358, allocations: 304 kB / 1.582 GB, free: 7.941 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/1.358, allocations: 72.52 kB / 1.582 GB, free: 7.879 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/1.358, allocations: 38.78 kB / 1.582 GB, free: 7.848 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007885/1.359, allocations: 0.7574 MB / 1.582 GB, free: 7 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/1.359, allocations: 30.56 kB / 1.582 GB, free: 6.961 MB / 1.01 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/1.359, allocations: 4 kB / 1.582 GB, free: 6.957 MB / 1.01 GB Notification: Performance of matching and sorting (n=8): time 0.0003918/1.359, allocations: 111.7 kB / 1.583 GB, free: 6.859 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/1.359, allocations: 55.41 kB / 1.583 GB, free: 6.793 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/1.359, allocations: 106.5 kB / 1.583 GB, free: 6.688 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/1.359, allocations: 25.7 kB / 1.583 GB, free: 6.656 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/1.359, allocations: 91.67 kB / 1.583 GB, free: 6.566 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/1.359, allocations: 30.98 kB / 1.583 GB, free: 6.539 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-06/1.359, allocations: 0 / 1.583 GB, free: 6.539 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.359, allocations: 322 kB / 1.583 GB, free: 6.219 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.564e-05/1.359, allocations: 14.94 kB / 1.583 GB, free: 6.211 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-05/1.359, allocations: 32.34 kB / 1.583 GB, free: 6.184 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/1.36, allocations: 59.02 kB / 1.583 GB, free: 6.137 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.36, allocations: 0 / 1.583 GB, free: 6.137 MB / 1.01 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002852/1.36, allocations: 123.8 kB / 1.583 GB, free: 6.027 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/1.36, allocations: 4.031 kB / 1.583 GB, free: 6.023 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.36, allocations: 4 kB / 1.583 GB, free: 6.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.36, allocations: 0 / 1.583 GB, free: 6.02 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/1.36, allocations: 23.98 kB / 1.583 GB, free: 5.996 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/1.36, allocations: 0 / 1.583 GB, free: 5.996 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/1.36, allocations: 11.84 kB / 1.583 GB, free: 5.984 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/1.36, allocations: 7.984 kB / 1.583 GB, free: 5.977 MB / 1.01 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 6.97e-05/1.36, allocations: 108.9 kB / 1.584 GB, free: 5.863 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/1.36, allocations: 11.52 kB / 1.584 GB, free: 5.855 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/1.361, allocations: 136.2 kB / 1.584 GB, free: 5.73 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.361, allocations: 4 kB / 1.584 GB, free: 5.727 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/1.361, allocations: 0 / 1.584 GB, free: 5.727 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.361, allocations: 0 / 1.584 GB, free: 5.727 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/1.361, allocations: 165.3 kB / 1.584 GB, free: 5.539 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.361, allocations: 0 / 1.584 GB, free: 5.539 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/1.361, allocations: 19.98 kB / 1.584 GB, free: 5.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.361, allocations: 0 / 1.584 GB, free: 5.52 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/1.361, allocations: 11.42 kB / 1.584 GB, free: 5.512 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.361, allocations: 4 kB / 1.584 GB, free: 5.508 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.361, allocations: 0 / 1.584 GB, free: 5.508 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003153/1.362, allocations: 216.2 kB / 1.584 GB, free: 5.301 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/1.362, allocations: 81.02 kB / 1.584 GB, free: 5.203 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/1.362, allocations: 4 kB / 1.584 GB, free: 5.199 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/1.362, allocations: 12 kB / 1.584 GB, free: 5.188 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/1.362, allocations: 3.984 kB / 1.584 GB, free: 5.184 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/1.362, allocations: 4 kB / 1.584 GB, free: 5.18 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.315e-05/1.362, allocations: 94.14 kB / 1.584 GB, free: 5.094 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002454/1.362, allocations: 19.94 kB / 1.584 GB, free: 5.074 MB / 1.01 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.0002411/1.362, allocations: 136.9 kB / 1.584 GB, free: 4.934 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001343/1.362, allocations: 57.55 kB / 1.584 GB, free: 4.895 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.362, allocations: 4.062 kB / 1.584 GB, free: 4.891 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/1.363, allocations: 30.81 kB / 1.585 GB, free: 4.871 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/1.363, allocations: 3.938 kB / 1.585 GB, free: 4.867 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/1.363, allocations: 106.8 kB / 1.585 GB, free: 4.75 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/1.363, allocations: 0.7112 MB / 1.585 GB, free: 4.016 MB / 1.01 GB Notification: Performance of SimCode: time 2.51e-07/1.363, allocations: 7.938 kB / 1.585 GB, free: 4.008 MB / 1.01 GB Notification: Performance of Templates: time 0.003709/1.367, allocations: 1.268 MB / 1.587 GB, free: 2.754 MB / 1.01 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches