Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.00147/0.00147, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437 MB / 0.7103 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.5634, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002646/0.5661, allocations: 1.601 MB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003412/0.5695, allocations: 3.26 MB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.5695, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.5696, allocations: 7.922 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.5697, allocations: 15.86 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.5701, allocations: 115.5 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.5702, allocations: 75.72 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.5703, allocations: 16.17 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.351e-05/0.5704, allocations: 39.84 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.5705, allocations: 35.84 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.5705, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.5708, allocations: 111.8 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.5708, allocations: 19.92 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.5709, allocations: 27.86 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.5711, allocations: 117.7 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5711, allocations: 3.984 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5711, allocations: 0 / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.5711, allocations: 0 / 1.023 GB, free: 13.01 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.0005415/0.5717, allocations: 383.2 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.5717, allocations: 12.03 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.5718, allocations: 12.78 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.5719, allocations: 180.2 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.5719, allocations: 384 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.5719, allocations: 8.312 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.5722, allocations: 85.58 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.5722, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5722, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.5722, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.5724, allocations: 75.94 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.5728, allocations: 320.7 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.5731, allocations: 94.47 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.5732, allocations: 56.77 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007711/0.574, allocations: 0.7527 MB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.574, allocations: 34.56 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.574, allocations: 4 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000388/0.5744, allocations: 133.8 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.5745, allocations: 59.39 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/0.5746, allocations: 117.8 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.5746, allocations: 25.7 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.5747, allocations: 92.05 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.5747, allocations: 31.55 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.5747, allocations: 29.7 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5749, allocations: 314.8 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.008e-05/0.5749, allocations: 27.98 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.554e-05/0.5751, allocations: 45.69 kB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.5752, allocations: 89.92 kB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5753, allocations: 0 / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002473/0.5755, allocations: 113.6 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.5755, allocations: 4 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5755, allocations: 0 / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.5756, allocations: 3.938 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.5757, allocations: 19.98 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.5757, allocations: 0 / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.5758, allocations: 15.92 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.5758, allocations: 8 kB / 1.026 GB, free: 9.555 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/0.5759, allocations: 117.8 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.5759, allocations: 7.906 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.5762, allocations: 118.1 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5763, allocations: 15.86 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5763, allocations: 4 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5763, allocations: 0 / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.5765, allocations: 189.6 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5765, allocations: 0 / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.5766, allocations: 19.98 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5766, allocations: 0 / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.5766, allocations: 0 / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.5766, allocations: 7.938 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5766, allocations: 0 / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.5769, allocations: 207.3 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.5769, allocations: 81.02 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.577, allocations: 4 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.5771, allocations: 11.94 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.5771, allocations: 3.984 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.5771, allocations: 4 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.655e-05/0.5772, allocations: 95.27 kB / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5772, allocations: 0 / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002583/0.5775, allocations: 24 kB / 1.026 GB, free: 8.562 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001825/0.5776, allocations: 119.2 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.5779, allocations: 83.89 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5779, allocations: 4.062 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.732e-05/0.578, allocations: 39.92 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.5783, allocations: 11.98 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.5787, allocations: 217.8 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.579, allocations: 0.6885 MB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.491e-05/0.5791, allocations: 16.45 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.5791, allocations: 11.44 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of SimCode: time 1.482e-06/0.5791, allocations: 7.938 kB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of Templates: time 0.00319/0.5823, allocations: 1.015 MB / 1.029 GB, free: 6.305 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches