Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001488/0.001488, 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.00169/0.00169, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.34/1.34, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.898/2.898, allocations: 0.49 GB / 0.7958 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001905/0.001905, allocations: 65.48 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3003, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002724/0.303, allocations: 1.645 MB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003819/0.3068, allocations: 3.394 MB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.3068, allocations: 3.938 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.3069, allocations: 3.938 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.485e-05/0.3069, allocations: 15.8 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.3074, allocations: 143.5 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.3075, allocations: 83.7 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.806e-05/0.3076, allocations: 11.98 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3077, allocations: 51.78 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.779e-05/0.3078, allocations: 35.84 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.3079, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.3081, allocations: 119.8 kB / 1.333 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.3082, allocations: 15.92 kB / 1.333 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.3082, allocations: 31.86 kB / 1.333 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3084, allocations: 135.5 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3084, allocations: 0 / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3084, allocations: 0 / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3085, allocations: 0 / 1.333 GB, free: 11.77 MB / 1.029 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.0005772/0.309, allocations: 329.9 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3091, allocations: 8.031 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.3093, allocations: 28.86 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3095, allocations: 131.2 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-06/0.3095, allocations: 384 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.3095, allocations: 8.375 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.3097, allocations: 81.77 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.3097, allocations: 4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3097, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3097, allocations: 4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.3099, allocations: 79.86 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.3104, allocations: 299.8 kB / 1.334 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.3106, allocations: 86.55 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.3107, allocations: 36.83 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000627/0.3113, allocations: 364.3 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.3114, allocations: 30.56 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.3114, allocations: 288 / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003866/0.3118, allocations: 145.5 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3118, allocations: 55.34 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3119, allocations: 125.1 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3119, allocations: 29.7 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.312, allocations: 96.03 kB / 1.335 GB, free: 9.691 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.312, allocations: 31.73 kB / 1.335 GB, free: 9.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.3121, allocations: 25.72 kB / 1.335 GB, free: 9.629 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3122, allocations: 318.8 kB / 1.335 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.3123, allocations: 27.98 kB / 1.335 GB, free: 9.281 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.222e-05/0.3124, allocations: 49.62 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.3125, allocations: 81.69 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3125, allocations: 0 / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002231/0.3128, allocations: 113.5 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3128, allocations: 5.406 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3128, allocations: 112 / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3128, allocations: 7.938 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3129, allocations: 23.95 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3129, allocations: 0 / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.313, allocations: 11.95 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.313, allocations: 3.984 kB / 1.335 GB, free: 8.973 MB / 1.029 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.748e-05/0.3131, allocations: 114.4 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.3131, allocations: 4 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.3134, allocations: 133.9 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.3134, allocations: 3.938 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3134, allocations: 0 / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3134, allocations: 0 / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.3136, allocations: 160.7 kB / 1.336 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3136, allocations: 0 / 1.336 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.3137, allocations: 23.98 kB / 1.336 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3137, allocations: 0 / 1.336 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.3137, allocations: 0 / 1.336 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3137, allocations: 3.938 kB / 1.336 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3137, allocations: 4 kB / 1.336 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.314, allocations: 211.6 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.314, allocations: 11.88 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.314, allocations: 11.94 kB / 1.336 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.3141, allocations: 3.938 kB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.3142, allocations: 7.984 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3142, allocations: 4 kB / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.83e-05/0.3142, allocations: 99.27 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3142, allocations: 0 / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002377/0.3145, allocations: 20 kB / 1.336 GB, free: 8.098 MB / 1.029 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.0001936/0.3147, allocations: 115.2 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.3149, allocations: 76.44 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3149, allocations: 7.938 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.138e-05/0.315, allocations: 40.06 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.3152, allocations: 8.156 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.3156, allocations: 249 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3159, allocations: 0.6885 MB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.316, allocations: 15.42 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.316, allocations: 4 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of Templates: time 0.003039/0.319, allocations: 1.305 MB / 1.338 GB, free: 5.531 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.068752692983253]