Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.91/1.91, allocations: 390.4 MB / 397.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 182.9 kB / 490.8 MB, free: 13.32 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.442/1.442, allocations: 221.4 MB / 0.7863 GB, free: 2.684 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 96.64 kB / 0.9264 GB, free: 40.02 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 1.108e-05/1.131e-05, allocations: 4 kB / 1.072 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8034/0.8034, allocations: 143 MB / 1.212 GB, free: 63.6 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9545/1.758, allocations: 372.4 MB / 1.575 GB, free: 162 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.758, allocations: 88.75 kB / 1.575 GB, free: 162 MB / 0.9792 GB Notification: Performance of FrontEnd: time 0.02906/1.787, allocations: 12.68 MB / 1.588 GB, free: 154.3 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.028e-05/1.787, allocations: 0 / 1.588 GB, free: 154.3 MB / 0.9792 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.0004987/1.788, allocations: 382 kB / 1.588 GB, free: 153.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/1.788, allocations: 11.97 kB / 1.588 GB, free: 153.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/1.788, allocations: 7.906 kB / 1.588 GB, free: 153.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/1.788, allocations: 171 kB / 1.588 GB, free: 153.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/1.788, allocations: 4 kB / 1.588 GB, free: 153.7 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/1.788, allocations: 4 kB / 1.588 GB, free: 153.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001641/1.789, allocations: 53.55 kB / 1.588 GB, free: 153.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/1.789, allocations: 64.55 kB / 1.588 GB, free: 153.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/1.789, allocations: 11.97 kB / 1.588 GB, free: 153.6 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/1.789, allocations: 0 / 1.588 GB, free: 153.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/1.789, allocations: 0 / 1.588 GB, free: 153.6 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/1.789, allocations: 301.5 kB / 1.589 GB, free: 153.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/1.789, allocations: 71.69 kB / 1.589 GB, free: 153.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/1.789, allocations: 31.42 kB / 1.589 GB, free: 153.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008361/1.79, allocations: 0.7578 MB / 1.59 GB, free: 152.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/1.79, allocations: 42.19 kB / 1.59 GB, free: 152.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=8): time 1.684e-06/1.79, allocations: 0 / 1.59 GB, free: 152.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=8): time 0.0004211/1.791, allocations: 110.4 kB / 1.59 GB, free: 152.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/1.791, allocations: 51.41 kB / 1.59 GB, free: 152.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.25e-05/1.791, allocations: 115.9 kB / 1.59 GB, free: 152 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/1.791, allocations: 25.7 kB / 1.59 GB, free: 152 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/1.791, allocations: 88.05 kB / 1.59 GB, free: 151.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/1.791, allocations: 23.27 kB / 1.59 GB, free: 151.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/1.791, allocations: 0 / 1.59 GB, free: 151.9 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.121e-05/1.791, allocations: 322.3 kB / 1.59 GB, free: 151.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/1.791, allocations: 18.81 kB / 1.59 GB, free: 151.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.587e-05/1.791, allocations: 40.2 kB / 1.59 GB, free: 151.5 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/1.791, allocations: 56.58 kB / 1.59 GB, free: 151.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.791, allocations: 0 / 1.59 GB, free: 151.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002715/1.792, allocations: 118.8 kB / 1.591 GB, free: 151.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.792, allocations: 4 kB / 1.591 GB, free: 151.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.792, allocations: 112 / 1.591 GB, free: 151.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/1.792, allocations: 11.92 kB / 1.591 GB, free: 151.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/1.792, allocations: 23.92 kB / 1.591 GB, free: 151.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/1.792, allocations: 0 / 1.591 GB, free: 151.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.002e-05/1.792, allocations: 19.88 kB / 1.591 GB, free: 151.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/1.792, allocations: 0 / 1.591 GB, free: 151.3 MB / 0.9792 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 5.921e-05/1.792, allocations: 105 kB / 1.591 GB, free: 151.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/1.792, allocations: 3.906 kB / 1.591 GB, free: 151.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/1.792, allocations: 146 kB / 1.591 GB, free: 151.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.792, allocations: 0 / 1.591 GB, free: 151.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.792, allocations: 0 / 1.591 GB, free: 151.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.792, allocations: 0 / 1.591 GB, free: 151.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/1.793, allocations: 164.7 kB / 1.591 GB, free: 150.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.793, allocations: 4 kB / 1.591 GB, free: 150.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/1.793, allocations: 27.92 kB / 1.591 GB, free: 150.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.793, allocations: 0 / 1.591 GB, free: 150.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/1.793, allocations: 0 / 1.591 GB, free: 150.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.793, allocations: 0 / 1.591 GB, free: 150.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.793, allocations: 0 / 1.591 GB, free: 150.8 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002893/1.793, allocations: 221.2 kB / 1.591 GB, free: 150.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/1.793, allocations: 81.11 kB / 1.591 GB, free: 150.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/1.793, allocations: 3.906 kB / 1.591 GB, free: 150.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/1.793, allocations: 7.984 kB / 1.591 GB, free: 150.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/1.793, allocations: 7.984 kB / 1.591 GB, free: 150.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/1.793, allocations: 3.188 kB / 1.591 GB, free: 150.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.207e-05/1.793, allocations: 87.22 kB / 1.591 GB, free: 150.4 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000254/1.794, allocations: 27.94 kB / 1.591 GB, free: 150.4 MB / 0.9792 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.0002514/1.794, allocations: 147.2 kB / 1.592 GB, free: 150.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001589/1.794, allocations: 46.19 kB / 1.592 GB, free: 150.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.794, allocations: 0 / 1.592 GB, free: 150.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 4.685e-05/1.794, allocations: 38.06 kB / 1.592 GB, free: 150.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/1.794, allocations: 12.8 kB / 1.592 GB, free: 150.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/1.795, allocations: 98.3 kB / 1.592 GB, free: 150.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/1.795, allocations: 0.7076 MB / 1.592 GB, free: 149.3 MB / 0.9792 GB Notification: Performance of SimCode: time 5.21e-07/1.795, allocations: 0 / 1.592 GB, free: 149.3 MB / 0.9792 GB Notification: Performance of Templates: time 0.003756/1.799, allocations: 1.287 MB / 1.594 GB, free: 148.1 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches