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.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001148/0.001148, allocations: 195 kB / 16.14 MB, free: 6.648 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.515/2.515, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 0.8685 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5661/0.5673, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003093/0.5704, allocations: 1.675 MB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003643/0.5741, allocations: 3.233 MB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.5742, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.652e-05/0.5743, allocations: 7.922 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.641e-05/0.5744, allocations: 7.938 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.5749, allocations: 103.6 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.5751, allocations: 79.72 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/0.5752, allocations: 20.16 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.5753, allocations: 27.92 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.957e-05/0.5754, allocations: 39.78 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.5754, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.5757, allocations: 95.83 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.5758, allocations: 11.92 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.5758, allocations: 39.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.5761, allocations: 113.7 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5761, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5761, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.5761, allocations: 0 / 1.022 GB, free: 13.3 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.000606/0.5767, allocations: 385.5 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5768, allocations: 15.97 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.5768, allocations: 8.844 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.577, allocations: 180.2 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.577, allocations: 8.312 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.577, allocations: 4.375 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.5772, allocations: 85.53 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.5773, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.5773, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5773, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.5775, allocations: 75.94 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.578, allocations: 328.7 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.5782, allocations: 94.47 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.5784, allocations: 40.84 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008031/0.5792, allocations: 0.7644 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.5792, allocations: 34.56 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.5792, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003994/0.5796, allocations: 141.8 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.5797, allocations: 51.41 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.5798, allocations: 121.8 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.5798, allocations: 25.7 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.5798, allocations: 96.12 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.5799, allocations: 23.56 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.5799, allocations: 25.7 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.58, allocations: 322.8 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.5801, allocations: 27.98 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.078e-05/0.5802, allocations: 37.7 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.5804, allocations: 85.61 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5804, allocations: 4 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002317/0.5807, allocations: 109.6 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5807, allocations: 8 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5807, allocations: 4.375 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5807, allocations: 3.938 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.5809, allocations: 23.92 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5809, allocations: 0 / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.581, allocations: 4 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.581, allocations: 8.031 kB / 1.025 GB, free: 9.848 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 8.477e-05/0.5811, allocations: 114 kB / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.5811, allocations: 11.89 kB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.5814, allocations: 129.9 kB / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.5814, allocations: 3.938 kB / 1.025 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5814, allocations: 8 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5814, allocations: 3.938 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.5816, allocations: 189.6 kB / 1.025 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5816, allocations: 0 / 1.025 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.5818, allocations: 23.98 kB / 1.025 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5818, allocations: 0 / 1.025 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.5818, allocations: 0 / 1.025 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.5818, allocations: 3.938 kB / 1.025 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5818, allocations: 0 / 1.025 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.5821, allocations: 207.4 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.5821, allocations: 81.02 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.5821, allocations: 4 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.5823, allocations: 11.92 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.5823, allocations: 7.984 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.5823, allocations: 0 / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.033e-05/0.5824, allocations: 95.27 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5824, allocations: 0 / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002569/0.5827, allocations: 28 kB / 1.026 GB, free: 8.844 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.0001956/0.5829, allocations: 115.7 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.5831, allocations: 79.89 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5831, allocations: 0 / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.5832, allocations: 44.03 kB / 1.026 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.5835, allocations: 8.766 kB / 1.026 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.584, allocations: 235.5 kB / 1.026 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.5842, allocations: 0.6926 MB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.57e-05/0.5843, allocations: 7.938 kB / 1.027 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.5843, allocations: 11.44 kB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5843, allocations: 0 / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of Templates: time 0.003353/0.5877, allocations: 0.949 MB / 1.028 GB, free: 6.652 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