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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.27/2.27, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001502/0.001502, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 221.3 MB / 0.7915 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 95.17 kB / 0.9318 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.847e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3138, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/1.632, allocations: 373.2 MB / 1.583 GB, free: 12.52 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.632, allocations: 86.83 kB / 1.583 GB, free: 12.47 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.031/1.663, allocations: 12.97 MB / 1.596 GB, free: 240 kB / 1.042 GB Notification: Performance of FrontEnd: time 1.222e-06/1.664, allocations: 0 / 1.596 GB, free: 240 kB / 1.042 GB Notification: Performance of Transformations before backend: time 9.688e-06/1.664, allocations: 0 / 1.596 GB, free: 240 kB / 1.042 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.0005922/1.664, allocations: 382.9 kB / 1.596 GB, free: 15.82 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.664, allocations: 12.03 kB / 1.596 GB, free: 15.8 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/1.664, allocations: 11.86 kB / 1.596 GB, free: 15.79 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/1.664, allocations: 167.9 kB / 1.596 GB, free: 15.59 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/1.664, allocations: 0 / 1.596 GB, free: 15.59 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/1.664, allocations: 8 kB / 1.596 GB, free: 15.58 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/1.665, allocations: 73.77 kB / 1.597 GB, free: 15.5 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.665, allocations: 3.938 kB / 1.597 GB, free: 15.5 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/1.665, allocations: 7.984 kB / 1.597 GB, free: 15.49 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.665, allocations: 0 / 1.597 GB, free: 15.49 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/1.665, allocations: 59.97 kB / 1.597 GB, free: 15.43 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/1.666, allocations: 324.7 kB / 1.597 GB, free: 15.07 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/1.666, allocations: 82.5 kB / 1.597 GB, free: 14.98 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.926e-05/1.666, allocations: 40.86 kB / 1.597 GB, free: 14.93 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009536/1.667, allocations: 0.7605 MB / 1.598 GB, free: 14.05 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/1.667, allocations: 30.56 kB / 1.598 GB, free: 14.02 MB / 1.057 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/1.667, allocations: 0 / 1.598 GB, free: 14.02 MB / 1.057 GB Notification: Performance of matching and sorting (n=8): time 0.0002694/1.667, allocations: 85.81 kB / 1.598 GB, free: 13.93 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/1.667, allocations: 51.41 kB / 1.598 GB, free: 13.86 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/1.667, allocations: 109 kB / 1.598 GB, free: 13.75 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/1.667, allocations: 33.7 kB / 1.598 GB, free: 13.71 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/1.667, allocations: 96.14 kB / 1.598 GB, free: 13.61 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/1.667, allocations: 27.58 kB / 1.598 GB, free: 13.59 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/1.667, allocations: 4 kB / 1.598 GB, free: 13.58 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.668, allocations: 318.8 kB / 1.599 GB, free: 13.26 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/1.668, allocations: 20 kB / 1.599 GB, free: 13.24 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/1.668, allocations: 33.72 kB / 1.599 GB, free: 13.2 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.893e-05/1.668, allocations: 27.98 kB / 1.599 GB, free: 13.18 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.668, allocations: 0 / 1.599 GB, free: 13.18 MB / 1.057 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001752/1.668, allocations: 93.48 kB / 1.599 GB, free: 13.08 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/1.668, allocations: 4 kB / 1.599 GB, free: 13.07 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/1.668, allocations: 4 kB / 1.599 GB, free: 13.07 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.668, allocations: 0 / 1.599 GB, free: 13.07 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/1.668, allocations: 19.98 kB / 1.599 GB, free: 13.05 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.668, allocations: 3.984 kB / 1.599 GB, free: 13.05 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.354e-05/1.668, allocations: 19.97 kB / 1.599 GB, free: 13.03 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/1.668, allocations: 0 / 1.599 GB, free: 13.03 MB / 1.057 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 9.32e-05/1.668, allocations: 108.9 kB / 1.599 GB, free: 12.91 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/1.668, allocations: 11.86 kB / 1.599 GB, free: 12.9 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/1.669, allocations: 110.5 kB / 1.599 GB, free: 12.79 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.669, allocations: 0 / 1.599 GB, free: 12.79 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.669, allocations: 0 / 1.599 GB, free: 12.79 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.669, allocations: 7.984 kB / 1.599 GB, free: 12.79 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/1.669, allocations: 189.5 kB / 1.599 GB, free: 12.55 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/1.669, allocations: 0 / 1.599 GB, free: 12.55 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/1.669, allocations: 23.92 kB / 1.599 GB, free: 12.53 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.669, allocations: 3.953 kB / 1.599 GB, free: 12.52 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/1.669, allocations: 4 kB / 1.599 GB, free: 12.52 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.669, allocations: 4 kB / 1.599 GB, free: 12.52 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.669, allocations: 0 / 1.599 GB, free: 12.52 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/1.669, allocations: 183.5 kB / 1.599 GB, free: 12.32 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/1.669, allocations: 81.02 kB / 1.599 GB, free: 12.22 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/1.669, allocations: 7.953 kB / 1.599 GB, free: 12.21 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/1.67, allocations: 11.98 kB / 1.599 GB, free: 12.2 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/1.67, allocations: 7.938 kB / 1.599 GB, free: 12.2 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/1.67, allocations: 3.984 kB / 1.599 GB, free: 12.19 MB / 1.057 GB Notification: Performance of sorting global known variables: time 5.73e-05/1.67, allocations: 95.66 kB / 1.6 GB, free: 12.1 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.5e-07/1.67, allocations: 0 / 1.6 GB, free: 12.1 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002503/1.67, allocations: 27.94 kB / 1.6 GB, free: 12.07 MB / 1.057 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.0002861/1.67, allocations: 143.1 kB / 1.6 GB, free: 11.92 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0001638/1.67, allocations: 59.97 kB / 1.6 GB, free: 11.86 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.67, allocations: 0 / 1.6 GB, free: 11.86 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 6.035e-05/1.67, allocations: 31.94 kB / 1.6 GB, free: 11.83 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/1.671, allocations: 9.125 kB / 1.6 GB, free: 11.82 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/1.671, allocations: 101.3 kB / 1.6 GB, free: 11.7 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/1.671, allocations: 0.6966 MB / 1.601 GB, free: 10.98 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 7.863e-05/1.671, allocations: 12.11 kB / 1.601 GB, free: 10.96 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/1.671, allocations: 11.44 kB / 1.601 GB, free: 10.95 MB / 1.057 GB Notification: Performance of SimCode: time 2.7e-07/1.671, allocations: 0 / 1.601 GB, free: 10.95 MB / 1.057 GB Notification: Performance of Templates: time 0.004111/1.676, allocations: 1.246 MB / 1.602 GB, free: 9.711 MB / 1.057 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