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.001604/0.001604, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.00176/0.00176, allocations: 161.6 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.894/2.894, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.687e-05/3.906e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00377/0.00381, allocations: 1.615 MB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005733/0.009542, allocations: 3.118 MB / 0.791 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.805e-05/0.00963, allocations: 1.438 kB / 0.791 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.009672, allocations: 3.938 kB / 0.7911 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.009783, allocations: 15.86 kB / 0.7911 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.01053, allocations: 145.1 kB / 0.7912 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.01072, allocations: 81.14 kB / 0.7913 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.01082, allocations: 11.98 kB / 0.7913 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.01105, allocations: 63.77 kB / 0.7914 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.01116, allocations: 33.42 kB / 0.7914 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.01118, allocations: 4 kB / 0.7914 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.01153, allocations: 99.7 kB / 0.7915 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.01156, allocations: 8.5 kB / 0.7915 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.01161, allocations: 25.36 kB / 0.7915 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.01194, allocations: 135.6 kB / 0.7916 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.01194, allocations: 0 / 0.7916 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.533e-06/0.01194, allocations: 0 / 0.7916 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.01195, allocations: 0.5938 kB / 0.7916 GB, free: 7.453 MB / 0.7448 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.0007046/0.01265, allocations: 327.9 kB / 0.792 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.0127, allocations: 8.031 kB / 0.792 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.01297, allocations: 28.88 kB / 0.792 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.01331, allocations: 130.9 kB / 0.7921 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.01333, allocations: 8.312 kB / 0.7921 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.01334, allocations: 5.781 kB / 0.7921 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.01359, allocations: 82.14 kB / 0.7922 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.0136, allocations: 192 / 0.7922 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.01362, allocations: 12.12 kB / 0.7922 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.01363, allocations: 0.625 kB / 0.7922 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.01385, allocations: 68.98 kB / 0.7923 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.0144, allocations: 253.2 kB / 0.7925 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.01467, allocations: 99.14 kB / 0.7926 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.01479, allocations: 41.34 kB / 0.7927 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008053/0.0156, allocations: 355.9 kB / 0.793 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.01564, allocations: 34.56 kB / 0.793 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.01564, allocations: 112 / 0.793 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0005258/0.01616, allocations: 143.3 kB / 0.7932 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.01622, allocations: 55.41 kB / 0.7932 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.01639, allocations: 123.8 kB / 0.7933 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.01642, allocations: 25.7 kB / 0.7934 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.01653, allocations: 96.58 kB / 0.7935 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.01657, allocations: 32.23 kB / 0.7935 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.01664, allocations: 22.48 kB / 0.7935 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.01687, allocations: 322.8 kB / 0.7938 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.01697, allocations: 32.53 kB / 0.7939 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.01711, allocations: 42.8 kB / 0.7939 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.01732, allocations: 78.59 kB / 0.794 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.01732, allocations: 0.9062 kB / 0.794 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003114/0.01764, allocations: 125.4 kB / 0.7941 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.01766, allocations: 8 kB / 0.7941 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.01767, allocations: 0 / 0.7941 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.0177, allocations: 0 / 0.7941 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.01786, allocations: 19.98 kB / 0.7941 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.01786, allocations: 0 / 0.7941 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.01795, allocations: 7.984 kB / 0.7941 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.01796, allocations: 8 kB / 0.7941 GB, free: 4.734 MB / 0.7448 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 0.000143/0.01811, allocations: 113.8 kB / 0.7942 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.01815, allocations: 17.08 kB / 0.7943 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.01853, allocations: 123 kB / 0.7944 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.01853, allocations: 0 / 0.7944 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.01854, allocations: 1.062 kB / 0.7944 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01854, allocations: 0 / 0.7944 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.01877, allocations: 141.1 kB / 0.7945 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.01878, allocations: 5.078 kB / 0.7945 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.01889, allocations: 15.98 kB / 0.7945 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.01889, allocations: 1.156 kB / 0.7945 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.01892, allocations: 4 kB / 0.7945 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01892, allocations: 0 / 0.7945 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01892, allocations: 0 / 0.7945 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.01928, allocations: 216.9 kB / 0.7947 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.0193, allocations: 3.953 kB / 0.7947 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.01932, allocations: 4 kB / 0.7947 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.01942, allocations: 12.02 kB / 0.7948 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.01949, allocations: 7.984 kB / 0.7948 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.0195, allocations: 4 kB / 0.7948 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.618e-05/0.01958, allocations: 92.89 kB / 0.7949 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01958, allocations: 0 / 0.7949 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003195/0.0199, allocations: 27.94 kB / 0.7949 GB, free: 3.906 MB / 0.7448 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.000306/0.02021, allocations: 111.2 kB / 0.795 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.0205, allocations: 83.89 kB / 0.7951 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0205, allocations: 0 / 0.7951 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.0206, allocations: 35.98 kB / 0.7951 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.02092, allocations: 11.94 kB / 0.7951 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.02145, allocations: 200.9 kB / 0.7953 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.177e-05/0.02154, allocations: 79.39 kB / 0.7954 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.542e-05/0.02161, allocations: 16.64 kB / 0.7954 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.02165, allocations: 12.5 kB / 0.7954 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.02165, allocations: 4 kB / 0.7954 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of Templates: time 0.004592/0.02624, allocations: 1.056 MB / 0.7964 GB, free: 2.273 MB / 0.7448 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 -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/jenkins/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.147361598908901]