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.001643/0.001643, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002035/0.002035, allocations: 216.9 kB / 23.01 MB, free: 4.605 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.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.666/2.666, allocations: 476.8 MB / 0.7714 GB, free: 4.285 MB / 0.6231 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.002017/0.002017, allocations: 62.17 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3205, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003142/0.3236, allocations: 1.647 MB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004411/0.328, allocations: 3.396 MB / 1.29 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.899e-05/0.3281, allocations: 4 kB / 1.29 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.3281, allocations: 7.922 kB / 1.29 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.3282, allocations: 11.81 kB / 1.29 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.3288, allocations: 135.5 kB / 1.29 GB, free: 6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.3289, allocations: 87.7 kB / 1.29 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.329, allocations: 19.97 kB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.3291, allocations: 39.84 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.3293, allocations: 35.84 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.3293, allocations: 8 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002965/0.3296, allocations: 123.7 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.3296, allocations: 11.92 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.3296, allocations: 35.84 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.3299, allocations: 139.4 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3299, allocations: 4 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3299, allocations: 0 / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3299, allocations: 0 / 1.29 GB, free: 5.504 MB / 0.9825 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.0005806/0.3305, allocations: 321.9 kB / 1.291 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.3305, allocations: 8.031 kB / 1.291 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.3307, allocations: 24.88 kB / 1.291 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.331, allocations: 130.5 kB / 1.291 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.331, allocations: 384 / 1.291 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.331, allocations: 8.375 kB / 1.291 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.3313, allocations: 81.77 kB / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3313, allocations: 0 / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3313, allocations: 3.938 kB / 1.291 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.3313, allocations: 4 kB / 1.291 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.3315, allocations: 75.88 kB / 1.291 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.332, allocations: 307.8 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.3322, allocations: 82.55 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3323, allocations: 44.95 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006527/0.333, allocations: 360.3 kB / 1.292 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.333, allocations: 34.56 kB / 1.292 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 2.996e-06/0.333, allocations: 3.984 kB / 1.292 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004078/0.3334, allocations: 141.6 kB / 1.292 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.3335, allocations: 59.38 kB / 1.292 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3336, allocations: 119.2 kB / 1.292 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3336, allocations: 29.69 kB / 1.292 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.3337, allocations: 96.03 kB / 1.292 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.3337, allocations: 27.8 kB / 1.292 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.3338, allocations: 17.72 kB / 1.292 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3339, allocations: 326.8 kB / 1.292 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.354e-05/0.334, allocations: 27.98 kB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3341, allocations: 49.62 kB / 1.292 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.3343, allocations: 81.62 kB / 1.293 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3343, allocations: 112 / 1.293 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002475/0.3345, allocations: 121.5 kB / 1.293 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3346, allocations: 4 kB / 1.293 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3346, allocations: 0 / 1.293 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3346, allocations: 0 / 1.293 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.3347, allocations: 27.86 kB / 1.293 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3347, allocations: 0 / 1.293 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.3348, allocations: 11.89 kB / 1.293 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.3348, allocations: 4 kB / 1.293 GB, free: 2.711 MB / 0.9825 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.0001114/0.3349, allocations: 121.9 kB / 1.293 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.335, allocations: 4 kB / 1.293 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.3353, allocations: 122.3 kB / 1.293 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.3353, allocations: 11.88 kB / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3353, allocations: 0 / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3353, allocations: 0 / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3355, allocations: 160.7 kB / 1.293 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3355, allocations: 4 kB / 1.293 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3356, allocations: 15.98 kB / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3356, allocations: 4 kB / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3356, allocations: 0 / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3356, allocations: 3.938 kB / 1.293 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3356, allocations: 0 / 1.293 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.3359, allocations: 203.5 kB / 1.293 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.3359, allocations: 15.88 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.3359, allocations: 4 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.336, allocations: 7.938 kB / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.3361, allocations: 11.92 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3361, allocations: 0 / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.196e-05/0.3361, allocations: 102.3 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3361, allocations: 192 / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002509/0.3364, allocations: 16 kB / 1.293 GB, free: 1.84 MB / 0.9825 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.0001976/0.3366, allocations: 131 kB / 1.294 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3368, allocations: 71.89 kB / 1.294 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3368, allocations: 0 / 1.294 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.3369, allocations: 39.97 kB / 1.294 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3372, allocations: 14.7 kB / 1.294 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.3376, allocations: 241 kB / 1.294 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.338, allocations: 0.6846 MB / 1.295 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.338, allocations: 19.42 kB / 1.295 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.338, allocations: 0 / 1.295 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of Templates: time 0.003242/0.3413, allocations: 1.3 MB / 1.296 GB, free: 15.29 MB / 0.9981 GB " [Timeout remaining time 299] 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/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: 10.861127420008415]