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.00824/0.00824, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001894/0.001894, allocations: 199.4 kB / 16.68 MB, free: 5.965 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.589/2.589, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.89 kB / 1.019 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2743, allocations: 151.6 MB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002923/0.2773, allocations: 1.611 MB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003894/0.2812, allocations: 3.252 MB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.2813, allocations: 3.938 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.2814, allocations: 7.922 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.893e-05/0.2814, allocations: 15.88 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.2819, allocations: 123.5 kB / 1.172 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.2821, allocations: 75.77 kB / 1.172 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2823, allocations: 8.188 kB / 1.172 GB, free: 1.629 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.943e-05/0.2824, allocations: 47.77 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.2825, allocations: 39.84 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2825, allocations: 4 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.2828, allocations: 111.8 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.2829, allocations: 11.98 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.2829, allocations: 27.81 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.2831, allocations: 123.6 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2831, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2832, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2832, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 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.0005462/0.2837, allocations: 395.1 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2838, allocations: 12.02 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.2838, allocations: 8.891 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2839, allocations: 172.3 kB / 1.173 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.2839, allocations: 4.375 kB / 1.173 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.284, allocations: 12.25 kB / 1.173 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.2842, allocations: 85.52 kB / 1.173 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2842, allocations: 8 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2842, allocations: 0 / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2842, allocations: 0 / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.2844, allocations: 67.95 kB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.2849, allocations: 332.7 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.2851, allocations: 98.47 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.826e-05/0.2852, allocations: 40.84 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009056/0.2861, allocations: 0.7566 MB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.2862, allocations: 38.56 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.2862, allocations: 0 / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004145/0.2866, allocations: 146 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.2867, allocations: 51.41 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/0.2868, allocations: 121.9 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2868, allocations: 33.69 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.2868, allocations: 92.09 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.2869, allocations: 31.73 kB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.2869, allocations: 21.72 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.287, allocations: 318.8 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-05/0.2871, allocations: 23.98 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.294e-05/0.2872, allocations: 49.69 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.2874, allocations: 81.62 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2874, allocations: 0 / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002449/0.2877, allocations: 117.5 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2877, allocations: 4 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2877, allocations: 0 / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2877, allocations: 7.938 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2879, allocations: 20.02 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.2879, allocations: 4 kB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.288, allocations: 4 kB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.288, allocations: 0 / 1.175 GB, free: 13.81 MB / 0.9356 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.944e-05/0.2881, allocations: 119.8 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.2881, allocations: 12.14 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.2884, allocations: 125.9 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2884, allocations: 3.938 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2884, allocations: 0 / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.2884, allocations: 0 / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.2887, allocations: 197.5 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2887, allocations: 0 / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.892e-05/0.2888, allocations: 15.98 kB / 1.175 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2888, allocations: 0 / 1.175 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.2888, allocations: 4 kB / 1.175 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2888, allocations: 3.938 kB / 1.175 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2888, allocations: 4 kB / 1.175 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.2891, allocations: 203.3 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.2891, allocations: 85.06 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2892, allocations: 7.984 kB / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.463e-05/0.2893, allocations: 7.938 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.2893, allocations: 7.984 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.2893, allocations: 4 kB / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.09e-05/0.2894, allocations: 95.27 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2894, allocations: 0 / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002646/0.2897, allocations: 20 kB / 1.176 GB, free: 12.81 MB / 0.9356 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.0002115/0.2899, allocations: 119.2 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.2901, allocations: 79.89 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2901, allocations: 0 / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.602e-05/0.2902, allocations: 40.44 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.2905, allocations: 14.75 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.291, allocations: 213.7 kB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.2913, allocations: 0.6924 MB / 1.177 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.877e-05/0.2913, allocations: 16.06 kB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.2914, allocations: 11.44 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.2914, allocations: 0 / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of Templates: time 0.003485/0.2949, allocations: 1.027 MB / 1.178 GB, free: 10.55 MB / 0.9356 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