Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001529/0.001529, 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.001681/0.001681, allocations: 223.5 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.977/2.977, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002081/0.002081, allocations: 63.39 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3166, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002859/0.3195, allocations: 1.632 MB / 1.356 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003992/0.3235, allocations: 3.414 MB / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.3236, allocations: 0 / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.3236, allocations: 11.81 kB / 1.359 GB, free: 2.863 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.62e-05/0.3237, allocations: 11.86 kB / 1.359 GB, free: 2.852 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.3242, allocations: 139.5 kB / 1.359 GB, free: 2.715 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3243, allocations: 79.78 kB / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.905e-05/0.3244, allocations: 15.97 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.3245, allocations: 43.8 kB / 1.359 GB, free: 2.578 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.3246, allocations: 43.81 kB / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.3246, allocations: 8 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.3249, allocations: 107.8 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.3249, allocations: 11.98 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.3249, allocations: 35.78 kB / 1.36 GB, free: 2.375 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.3252, allocations: 135.5 kB / 1.36 GB, free: 2.242 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3252, allocations: 7.938 kB / 1.36 GB, free: 2.234 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3252, allocations: 0 / 1.36 GB, free: 2.234 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3252, allocations: 0 / 1.36 GB, free: 2.234 MB / 1.045 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.0006088/0.3258, allocations: 321.9 kB / 1.36 GB, free: 1.891 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3258, allocations: 8.031 kB / 1.36 GB, free: 1.883 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.3261, allocations: 28.86 kB / 1.36 GB, free: 1.855 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.3263, allocations: 130.4 kB / 1.36 GB, free: 1.703 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3263, allocations: 8.125 kB / 1.36 GB, free: 1.695 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3264, allocations: 4 kB / 1.36 GB, free: 1.691 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3266, allocations: 81.58 kB / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3266, allocations: 0 / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3266, allocations: 4 kB / 1.36 GB, free: 1.602 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3266, allocations: 4 kB / 1.36 GB, free: 1.598 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.3268, allocations: 79.81 kB / 1.36 GB, free: 1.52 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.3273, allocations: 307.8 kB / 1.361 GB, free: 1.176 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.3275, allocations: 82.48 kB / 1.361 GB, free: 1.086 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.497e-05/0.3276, allocations: 40.83 kB / 1.361 GB, free: 1.043 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006319/0.3282, allocations: 356.3 kB / 1.361 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3282, allocations: 38.56 kB / 1.361 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3282, allocations: 0 / 1.361 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0003828/0.3286, allocations: 145.7 kB / 1.361 GB, free: 492 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.3286, allocations: 51.41 kB / 1.361 GB, free: 428 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3288, allocations: 124.3 kB / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3288, allocations: 25.7 kB / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.3288, allocations: 96.08 kB / 1.362 GB, free: 164 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.3289, allocations: 31.73 kB / 1.362 GB, free: 132 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.3289, allocations: 17.72 kB / 1.362 GB, free: 108 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3291, allocations: 326.8 kB / 1.362 GB, free: 15.78 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.3292, allocations: 27.98 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.18e-05/0.3293, allocations: 45.69 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.3294, allocations: 77.62 kB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3294, allocations: 0 / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002367/0.3297, allocations: 117.6 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3297, allocations: 7.938 kB / 1.362 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3297, allocations: 0 / 1.362 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3297, allocations: 0 / 1.362 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3298, allocations: 23.92 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3298, allocations: 0 / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.044e-05/0.3299, allocations: 11.94 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.3299, allocations: 8 kB / 1.362 GB, free: 15.45 MB / 1.061 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.651e-05/0.33, allocations: 118 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.33, allocations: 15.83 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.3303, allocations: 122.1 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3303, allocations: 7.984 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3303, allocations: 3.984 kB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3303, allocations: 0 / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.3305, allocations: 164.7 kB / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3305, allocations: 0 / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.3306, allocations: 15.98 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3306, allocations: 7.938 kB / 1.363 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3307, allocations: 0 / 1.363 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3307, allocations: 0 / 1.363 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3307, allocations: 0 / 1.363 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.3309, allocations: 211.9 kB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.3309, allocations: 15.89 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.331, allocations: 3.938 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.331, allocations: 4 kB / 1.363 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.3311, allocations: 11.98 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.3311, allocations: 0 / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.3312, allocations: 95.27 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3312, allocations: 0 / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00024/0.3314, allocations: 23.98 kB / 1.363 GB, free: 14.56 MB / 1.061 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.0001879/0.3316, allocations: 111.2 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.3318, allocations: 79.95 kB / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3318, allocations: 0 / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.566e-05/0.3319, allocations: 44.11 kB / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.3322, allocations: 8.062 kB / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.3326, allocations: 250.5 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3329, allocations: 0.6885 MB / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.333, allocations: 15.38 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.333, allocations: 0 / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of Templates: time 0.002877/0.3358, allocations: 1.312 MB / 1.365 GB, free: 12 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.107175920013105]