Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 78.95 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 158.8 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.679/2.679, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 64.17 kB / 0.9515 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2902, allocations: 169.9 MB / 1.117 GB, free: 2.477 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002845/0.2931, allocations: 1.608 MB / 1.119 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004064/0.2971, allocations: 3.137 MB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.2972, allocations: 0 / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.2972, allocations: 7.922 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.2973, allocations: 11.88 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.2978, allocations: 135.4 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.2979, allocations: 87.69 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.411e-05/0.298, allocations: 8 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.2982, allocations: 47.84 kB / 1.122 GB, free: 13.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.734e-05/0.2982, allocations: 35.83 kB / 1.122 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2983, allocations: 4 kB / 1.122 GB, free: 13.37 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.2985, allocations: 99.78 kB / 1.123 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.2985, allocations: 11.94 kB / 1.123 GB, free: 13.26 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.2986, allocations: 27.86 kB / 1.123 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.2988, allocations: 123.6 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2988, allocations: 0 / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2988, allocations: 8 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.2988, allocations: 0 / 1.123 GB, free: 13.11 MB / 1.076 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.0005736/0.2994, allocations: 317.9 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2994, allocations: 8.031 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.2996, allocations: 28.86 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.2999, allocations: 138.3 kB / 1.123 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.2999, allocations: 8.312 kB / 1.123 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.2999, allocations: 8.375 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.3001, allocations: 81.78 kB / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3001, allocations: 0 / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3002, allocations: 0 / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3002, allocations: 0 / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.3004, allocations: 71.94 kB / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.3008, allocations: 268.4 kB / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.301, allocations: 82.55 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3012, allocations: 44.83 kB / 1.124 GB, free: 11.97 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006351/0.3018, allocations: 352.2 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3018, allocations: 42.83 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3018, allocations: 7.938 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0003914/0.3022, allocations: 129.6 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.3022, allocations: 51.41 kB / 1.124 GB, free: 11.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3024, allocations: 137.7 kB / 1.124 GB, free: 11.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.3024, allocations: 25.7 kB / 1.124 GB, free: 11.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.3024, allocations: 84.14 kB / 1.124 GB, free: 11.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.3025, allocations: 35.72 kB / 1.125 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.3025, allocations: 21.72 kB / 1.125 GB, free: 11.03 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3027, allocations: 318.8 kB / 1.125 GB, free: 10.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/0.3027, allocations: 31.98 kB / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.863e-05/0.3028, allocations: 49.62 kB / 1.125 GB, free: 10.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.303, allocations: 81.98 kB / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.303, allocations: 0 / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002418/0.3033, allocations: 109.5 kB / 1.125 GB, free: 10.42 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3033, allocations: 12.03 kB / 1.125 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3033, allocations: 0 / 1.125 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3033, allocations: 0 / 1.125 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.3034, allocations: 23.98 kB / 1.125 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3034, allocations: 3.938 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.581e-05/0.3035, allocations: 11.94 kB / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3035, allocations: 4 kB / 1.125 GB, free: 10.37 MB / 1.076 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 9.106e-05/0.3036, allocations: 117.8 kB / 1.125 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.3037, allocations: 3.953 kB / 1.125 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.304, allocations: 122.1 kB / 1.125 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.304, allocations: 7.984 kB / 1.125 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.304, allocations: 12.11 kB / 1.125 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.304, allocations: 0 / 1.125 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3041, allocations: 133.2 kB / 1.126 GB, free: 9.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3041, allocations: 4 kB / 1.126 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3042, allocations: 15.98 kB / 1.126 GB, free: 9.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3042, allocations: 0 / 1.126 GB, free: 9.91 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3043, allocations: 7.938 kB / 1.126 GB, free: 9.902 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3043, allocations: 0 / 1.126 GB, free: 9.902 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.3043, allocations: 0 / 1.126 GB, free: 9.902 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.3045, allocations: 211.3 kB / 1.126 GB, free: 9.68 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.3046, allocations: 7.953 kB / 1.126 GB, free: 9.672 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.3046, allocations: 4 kB / 1.126 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/0.3047, allocations: 4 kB / 1.126 GB, free: 9.664 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.3047, allocations: 7.984 kB / 1.126 GB, free: 9.656 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.3047, allocations: 3.938 kB / 1.126 GB, free: 9.652 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.584e-05/0.3048, allocations: 105.8 kB / 1.126 GB, free: 9.551 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.3048, allocations: 0 / 1.126 GB, free: 9.551 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002651/0.3051, allocations: 19.98 kB / 1.126 GB, free: 9.531 MB / 1.076 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.0001824/0.3052, allocations: 119.1 kB / 1.126 GB, free: 9.406 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.3055, allocations: 71.95 kB / 1.126 GB, free: 9.336 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3055, allocations: 0 / 1.126 GB, free: 9.336 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.3056, allocations: 47.97 kB / 1.126 GB, free: 9.289 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.3058, allocations: 7.125 kB / 1.126 GB, free: 9.285 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.3063, allocations: 219.2 kB / 1.126 GB, free: 9.047 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.191e-05/0.3063, allocations: 79.27 kB / 1.126 GB, free: 8.949 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.348e-05/0.3064, allocations: 8.547 kB / 1.126 GB, free: 8.941 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.3064, allocations: 16.5 kB / 1.126 GB, free: 8.926 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.3064, allocations: 3.938 kB / 1.126 GB, free: 8.922 MB / 1.076 GB Notification: Performance of Templates: time 0.003774/0.3102, allocations: 1.026 MB / 1.127 GB, free: 7.906 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.177685266011395]