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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001075/0.001075, allocations: 100.1 kB / 15.88 MB, free: 12 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.001407/0.001407, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.401/1.401, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 437 MB / 0.7106 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 67.89 kB / 0.8692 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6721, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002906/0.6751, allocations: 1.668 MB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003717/0.6788, allocations: 3.237 MB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.6789, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.422e-05/0.679, allocations: 7.922 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.228e-05/0.6791, allocations: 3.938 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.6796, allocations: 115.6 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.678e-05/0.6797, allocations: 71.72 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.851e-05/0.6798, allocations: 12.17 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.6799, allocations: 35.84 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.68, allocations: 35.84 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.6801, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.6804, allocations: 99.78 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.6804, allocations: 19.91 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.6804, allocations: 27.86 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.6806, allocations: 81.84 kB / 1.023 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.6806, allocations: 0 / 1.023 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6806, allocations: 0 / 1.023 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.6807, allocations: 0 / 1.023 GB, free: 13.4 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.0006012/0.6813, allocations: 391.2 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.6813, allocations: 12.03 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.6814, allocations: 4.844 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.6815, allocations: 180.2 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.6815, allocations: 8.312 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.6815, allocations: 8.375 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.6818, allocations: 81.53 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6818, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.6818, allocations: 4 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6818, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.682, allocations: 75.94 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.6825, allocations: 324.7 kB / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.6828, allocations: 102.5 kB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.637e-05/0.6829, allocations: 40.84 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008112/0.6837, allocations: 0.7565 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.6837, allocations: 34.56 kB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.6837, allocations: 0 / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004004/0.6841, allocations: 137.8 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.6842, allocations: 51.41 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.6843, allocations: 122.1 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.6843, allocations: 25.7 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.6844, allocations: 96.12 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.6844, allocations: 27.56 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.6844, allocations: 21.7 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6845, allocations: 318.8 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.6846, allocations: 31.97 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.6847, allocations: 37.7 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.6849, allocations: 85.61 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6849, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002264/0.6852, allocations: 109.9 kB / 1.026 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6852, allocations: 8 kB / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.6852, allocations: 3.938 kB / 1.026 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.6852, allocations: 7.922 kB / 1.026 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.6854, allocations: 24.02 kB / 1.026 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.6854, allocations: 8.047 kB / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-05/0.6855, allocations: 4.109 kB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.6855, allocations: 11.94 kB / 1.026 GB, free: 9.941 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.951e-05/0.6856, allocations: 114.5 kB / 1.026 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.6856, allocations: 7.906 kB / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.6859, allocations: 129.9 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6859, allocations: 3.938 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6859, allocations: 0 / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6859, allocations: 0 / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.6861, allocations: 189.6 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6861, allocations: 0 / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.6863, allocations: 19.98 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.6863, allocations: 7.984 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.6863, allocations: 0 / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.6863, allocations: 7.938 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6863, allocations: 0 / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.6866, allocations: 207.4 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.6866, allocations: 81.02 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.6866, allocations: 0 / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.6867, allocations: 11.92 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.6868, allocations: 8 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.6868, allocations: 7.984 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.28e-05/0.6869, allocations: 95.33 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6869, allocations: 0 / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000264/0.6871, allocations: 19.98 kB / 1.026 GB, free: 8.949 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.000234/0.6874, allocations: 125.5 kB / 1.027 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.6876, allocations: 79.89 kB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6876, allocations: 0 / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.547e-05/0.6877, allocations: 43.91 kB / 1.027 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.6881, allocations: 10.06 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.6886, allocations: 268.3 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.6888, allocations: 0.6848 MB / 1.028 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.6889, allocations: 15.42 kB / 1.028 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of SimCode: time 3.9e-07/0.6889, allocations: 0 / 1.028 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of Templates: time 0.002934/0.6918, allocations: 1.248 MB / 1.029 GB, free: 6.426 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/jenkins1/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