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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.199/2.199, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001496/0.001496, allocations: 176.9 kB / 487.4 MB, free: 5.043 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.612/1.612, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 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.001075/0.001075, allocations: 95.84 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.673e-05/2.676e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3378, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.232/1.569, allocations: 371.7 MB / 1.569 GB, free: 1.859 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/1.57, allocations: 89.2 kB / 1.569 GB, free: 1.809 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.02868/1.598, allocations: 12.9 MB / 1.582 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.473e-06/1.599, allocations: 0 / 1.582 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.936e-06/1.599, allocations: 0 / 1.582 GB, free: 7.668 MB / 0.9948 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.000523/1.599, allocations: 382.5 kB / 1.582 GB, free: 7.254 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.599, allocations: 8.031 kB / 1.582 GB, free: 7.246 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/1.599, allocations: 7.906 kB / 1.582 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/1.599, allocations: 171 kB / 1.582 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/1.599, allocations: 5.422 kB / 1.582 GB, free: 7.027 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/1.599, allocations: 0 / 1.582 GB, free: 7.027 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00018/1.6, allocations: 57.03 kB / 1.582 GB, free: 6.988 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/1.6, allocations: 67.36 kB / 1.582 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.6, allocations: 224 / 1.582 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/1.6, allocations: 0 / 1.582 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.6, allocations: 3.938 kB / 1.582 GB, free: 6.922 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/1.6, allocations: 308.8 kB / 1.583 GB, free: 6.613 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/1.6, allocations: 82.61 kB / 1.583 GB, free: 6.547 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/1.601, allocations: 32.86 kB / 1.583 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008141/1.601, allocations: 0.75 MB / 1.583 GB, free: 5.68 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/1.601, allocations: 42.67 kB / 1.583 GB, free: 5.633 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 2.535e-06/1.601, allocations: 0 / 1.583 GB, free: 5.633 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0003817/1.602, allocations: 108 kB / 1.584 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/1.602, allocations: 51.41 kB / 1.584 GB, free: 5.477 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/1.602, allocations: 104.8 kB / 1.584 GB, free: 5.371 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/1.602, allocations: 25.7 kB / 1.584 GB, free: 5.34 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/1.602, allocations: 99.66 kB / 1.584 GB, free: 5.246 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/1.602, allocations: 23.53 kB / 1.584 GB, free: 5.227 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/1.602, allocations: 0 / 1.584 GB, free: 5.227 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.602, allocations: 314.8 kB / 1.584 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-05/1.602, allocations: 19.56 kB / 1.584 GB, free: 4.898 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/1.602, allocations: 45.2 kB / 1.584 GB, free: 4.859 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/1.602, allocations: 47.47 kB / 1.584 GB, free: 4.824 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.602, allocations: 0 / 1.584 GB, free: 4.824 MB / 0.9948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000268/1.603, allocations: 112 kB / 1.584 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.603, allocations: 4 kB / 1.584 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.603, allocations: 7.938 kB / 1.584 GB, free: 4.715 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.603, allocations: 4 kB / 1.584 GB, free: 4.711 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/1.603, allocations: 24.02 kB / 1.584 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.603, allocations: 0 / 1.584 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/1.603, allocations: 8.047 kB / 1.584 GB, free: 4.68 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/1.603, allocations: 7.938 kB / 1.584 GB, free: 4.672 MB / 0.9948 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 7.097e-05/1.603, allocations: 104.9 kB / 1.585 GB, free: 4.562 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/1.603, allocations: 7.906 kB / 1.585 GB, free: 4.555 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/1.604, allocations: 132.9 kB / 1.585 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.604, allocations: 3.953 kB / 1.585 GB, free: 4.441 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.604, allocations: 0 / 1.585 GB, free: 4.441 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.604, allocations: 0 / 1.585 GB, free: 4.441 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/1.604, allocations: 165.8 kB / 1.585 GB, free: 4.254 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.604, allocations: 0 / 1.585 GB, free: 4.254 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/1.604, allocations: 23.92 kB / 1.585 GB, free: 4.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/1.604, allocations: 0 / 1.585 GB, free: 4.23 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.604, allocations: 0 / 1.585 GB, free: 4.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.604, allocations: 8 kB / 1.585 GB, free: 4.223 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.604, allocations: 240 / 1.585 GB, free: 4.223 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/1.604, allocations: 214.7 kB / 1.585 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/1.604, allocations: 81.11 kB / 1.585 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/1.604, allocations: 0 / 1.585 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/1.604, allocations: 7.938 kB / 1.585 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/1.605, allocations: 11.98 kB / 1.585 GB, free: 3.902 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/1.605, allocations: 4.188 kB / 1.585 GB, free: 3.898 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.41e-05/1.605, allocations: 95.09 kB / 1.585 GB, free: 3.809 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.81e-07/1.605, allocations: 3.938 kB / 1.585 GB, free: 3.805 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002498/1.605, allocations: 19.94 kB / 1.585 GB, free: 3.785 MB / 0.9948 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.0002454/1.605, allocations: 135 kB / 1.585 GB, free: 3.648 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001384/1.605, allocations: 51.38 kB / 1.585 GB, free: 3.613 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.605, allocations: 0 / 1.585 GB, free: 3.613 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.419e-05/1.605, allocations: 35.48 kB / 1.586 GB, free: 3.59 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/1.605, allocations: 14.36 kB / 1.586 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/1.606, allocations: 99.23 kB / 1.586 GB, free: 3.469 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/1.606, allocations: 0.6924 MB / 1.586 GB, free: 2.75 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.661e-05/1.606, allocations: 4.188 kB / 1.586 GB, free: 2.742 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/1.606, allocations: 15.42 kB / 1.586 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of SimCode: time 2.3e-07/1.606, allocations: 0 / 1.586 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of Templates: time 0.003497/1.61, allocations: 1.03 MB / 1.587 GB, free: 1.711 MB / 0.9948 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