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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009639/0.000964, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009614/0.0009614, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.2 MB / 239.9 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.474/2.474, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 16 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5886/0.5889, allocations: 153.6 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001535/0.5905, allocations: 1.282 MB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002923/0.5934, allocations: 2.838 MB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.158e-05/0.5935, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.5935, allocations: 3.938 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/0.5936, allocations: 11.97 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.5939, allocations: 95.69 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.434e-05/0.594, allocations: 55.86 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.397e-05/0.5941, allocations: 8.188 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.903e-05/0.5942, allocations: 35.91 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.31e-05/0.5943, allocations: 35.83 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.5943, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.5945, allocations: 75.94 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.5946, allocations: 15.92 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.5946, allocations: 33.7 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.5948, allocations: 81.72 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.5948, allocations: 0 / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5948, allocations: 0 / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.5948, allocations: 0 / 1.025 GB, free: 12.51 MB / 0.7794 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.0004924/0.5953, allocations: 379.1 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.5953, allocations: 15.98 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.5954, allocations: 7.906 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.5955, allocations: 178.8 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.5955, allocations: 4 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.5955, allocations: 4 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.5958, allocations: 81.64 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.5958, allocations: 0 / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.5958, allocations: 4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.5958, allocations: 8 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.596, allocations: 83.88 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.5965, allocations: 324.7 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.5967, allocations: 98.55 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007287/0.5974, allocations: 0.7448 MB / 1.027 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.5974, allocations: 34.78 kB / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.5975, allocations: 0 / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003964/0.5979, allocations: 153.6 kB / 1.027 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.5979, allocations: 51.41 kB / 1.027 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.598, allocations: 125.8 kB / 1.027 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.598, allocations: 25.7 kB / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.5981, allocations: 92.05 kB / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.5981, allocations: 31.55 kB / 1.028 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.5981, allocations: 0 / 1.028 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5982, allocations: 318.8 kB / 1.028 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.726e-05/0.5983, allocations: 35.97 kB / 1.028 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.682e-05/0.5984, allocations: 49.64 kB / 1.028 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.745e-05/0.5986, allocations: 39.98 kB / 1.028 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5986, allocations: 0 / 1.028 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002462/0.5988, allocations: 117.8 kB / 1.028 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.5988, allocations: 7.938 kB / 1.028 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5988, allocations: 4.578 kB / 1.028 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5989, allocations: 7.891 kB / 1.028 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.599, allocations: 23.92 kB / 1.028 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.599, allocations: 3.984 kB / 1.028 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.766e-05/0.5991, allocations: 11.91 kB / 1.028 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.5991, allocations: 4 kB / 1.028 GB, free: 9.145 MB / 0.7794 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 () * Number of clocked 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 8.01e-05/0.5992, allocations: 123.5 kB / 1.028 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.5993, allocations: 7.906 kB / 1.028 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.5996, allocations: 137.9 kB / 1.028 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5996, allocations: 7.953 kB / 1.028 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5996, allocations: 0 / 1.028 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5996, allocations: 0 / 1.028 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.5998, allocations: 185.6 kB / 1.029 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5998, allocations: 0 / 1.029 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.5999, allocations: 23.98 kB / 1.029 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5999, allocations: 3.984 kB / 1.029 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.5999, allocations: 0 / 1.029 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5999, allocations: 0 / 1.029 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5999, allocations: 3.953 kB / 1.029 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.6002, allocations: 211.4 kB / 1.029 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.6003, allocations: 85.02 kB / 1.029 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.6003, allocations: 0 / 1.029 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.6004, allocations: 19.98 kB / 1.029 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.6005, allocations: 0 / 1.029 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.6005, allocations: 11.94 kB / 1.029 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.6005, allocations: 87.28 kB / 1.029 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6005, allocations: 0 / 1.029 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002673/0.6008, allocations: 27.98 kB / 1.029 GB, free: 8.133 MB / 0.7794 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 () * Number of clocked 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.0002398/0.6011, allocations: 119.1 kB / 1.029 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.6013, allocations: 91.88 kB / 1.029 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6013, allocations: 0 / 1.029 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.6014, allocations: 43.97 kB / 1.029 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.6017, allocations: 16.56 kB / 1.029 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.6021, allocations: 244.2 kB / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.6024, allocations: 0.6926 MB / 1.03 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.324e-05/0.6024, allocations: 8.172 kB / 1.03 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.6025, allocations: 11.44 kB / 1.03 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6025, allocations: 0 / 1.03 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of Templates: time 0.003172/0.6056, allocations: 0.9149 MB / 1.031 GB, free: 5.941 MB / 0.7794 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