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.001357/0.001358, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001506/0.001506, allocations: 191 kB / 17.29 MB, free: 5.516 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.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.396/2.396, allocations: 437.1 MB / 0.7112 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.48 kB / 0.8707 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2688, allocations: 151.6 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002977/0.2718, allocations: 1.6 MB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003885/0.2757, allocations: 3.262 MB / 1.024 GB, free: 4.926 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.2758, allocations: 0 / 1.024 GB, free: 4.926 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.2758, allocations: 7.875 kB / 1.024 GB, free: 4.918 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.2759, allocations: 11.88 kB / 1.024 GB, free: 4.906 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.2764, allocations: 119.5 kB / 1.024 GB, free: 4.789 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2765, allocations: 83.7 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.2766, allocations: 12.19 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2767, allocations: 39.89 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.821e-05/0.2768, allocations: 39.78 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.2768, allocations: 4 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.2771, allocations: 103.8 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.2771, allocations: 19.92 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.2772, allocations: 27.88 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.2774, allocations: 131.5 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2774, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2775, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.2775, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 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.0005348/0.278, allocations: 391.2 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.278, allocations: 12.91 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.2781, allocations: 12.84 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2782, allocations: 172.2 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2782, allocations: 8.375 kB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.2783, allocations: 4.375 kB / 1.025 GB, free: 3.664 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.2785, allocations: 85.52 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2785, allocations: 0 / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2785, allocations: 4 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2785, allocations: 0 / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.2787, allocations: 71.95 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.2792, allocations: 332.7 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.2794, allocations: 98.47 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.752e-05/0.2795, allocations: 40.84 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007549/0.2803, allocations: 0.7565 MB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2803, allocations: 34.56 kB / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.2803, allocations: 0 / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0003726/0.2807, allocations: 145.7 kB / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.2807, allocations: 51.41 kB / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.558e-05/0.2808, allocations: 122.2 kB / 1.026 GB, free: 1.719 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2809, allocations: 25.7 kB / 1.026 GB, free: 1.688 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.2809, allocations: 88.08 kB / 1.026 GB, free: 1.598 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.2809, allocations: 31.55 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.281, allocations: 21.72 kB / 1.027 GB, free: 1.539 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.2811, allocations: 322.8 kB / 1.027 GB, free: 1.215 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/0.2812, allocations: 27.98 kB / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.058e-05/0.2813, allocations: 45.69 kB / 1.027 GB, free: 1.137 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.2815, allocations: 77.62 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2815, allocations: 4.188 kB / 1.027 GB, free: 1.051 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002239/0.2817, allocations: 113.5 kB / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2817, allocations: 7.938 kB / 1.027 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2817, allocations: 3.938 kB / 1.027 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2818, allocations: 3.938 kB / 1.027 GB, free: 0.918 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.2819, allocations: 19.98 kB / 1.027 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.2819, allocations: 400 / 1.027 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/0.282, allocations: 12.11 kB / 1.027 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.282, allocations: 11.97 kB / 1.027 GB, free: 0.875 MB / 0.795 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.739e-05/0.2821, allocations: 118.5 kB / 1.027 GB, free: 0.75 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.2821, allocations: 7.906 kB / 1.027 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.2824, allocations: 117.9 kB / 1.027 GB, free: 0.625 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2824, allocations: 7.938 kB / 1.027 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2824, allocations: 0 / 1.027 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2824, allocations: 4 kB / 1.027 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.2826, allocations: 193.6 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2826, allocations: 0 / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.2827, allocations: 15.98 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2828, allocations: 0 / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2828, allocations: 4 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2828, allocations: 3.938 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.2828, allocations: 0 / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.283, allocations: 211.4 kB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.2831, allocations: 88.95 kB / 1.028 GB, free: 24 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2831, allocations: 3.984 kB / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.2832, allocations: 7.938 kB / 1.028 GB, free: 12 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.2833, allocations: 7.984 kB / 1.028 GB, free: 4 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.2833, allocations: 4 kB / 1.028 GB, free: 0 / 0.795 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.2833, allocations: 95.31 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2833, allocations: 0 / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002593/0.2836, allocations: 28 kB / 1.028 GB, free: 15.88 MB / 0.8106 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.0001813/0.2838, allocations: 111.2 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.284, allocations: 79.89 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2841, allocations: 0 / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.685e-05/0.2842, allocations: 55.91 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.2844, allocations: 4 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.2849, allocations: 213.7 kB / 1.028 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.2851, allocations: 0.6897 MB / 1.029 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.336e-05/0.2851, allocations: 8 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.2852, allocations: 15.44 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.2852, allocations: 0 / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.003209/0.2884, allocations: 1.016 MB / 1.03 GB, free: 13.64 MB / 0.8106 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 -s gbode -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