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.001619/0.001619, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001873/0.001873, allocations: 216.1 kB / 23 MB, free: 4.969 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.617/1.617, allocations: 230.6 MB / 256.8 MB, free: 7.82 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 3.598/3.598, allocations: 0.49 GB / 0.7959 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] 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.002163/0.002163, allocations: 67.09 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5034, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00397/0.5074, allocations: 1.606 MB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004768/0.5122, allocations: 3.129 MB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.5123, allocations: 7.938 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.5123, allocations: 3.938 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.343e-05/0.5124, allocations: 15.84 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006781/0.5131, allocations: 143.4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.5132, allocations: 75.72 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.5133, allocations: 15.92 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.5135, allocations: 47.84 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.5136, allocations: 39.83 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.5136, allocations: 8 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.5139, allocations: 95.78 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.5139, allocations: 19.92 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.5139, allocations: 23.86 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.5143, allocations: 135.5 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5143, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5143, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.5143, allocations: 0 / 1.332 GB, free: 11.57 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.0006688/0.5149, allocations: 321.9 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.515, allocations: 16.03 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.5153, allocations: 20.88 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.5156, allocations: 139.5 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.5156, allocations: 8.375 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.5156, allocations: 4.375 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.5158, allocations: 81.77 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5159, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.5159, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5159, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.5161, allocations: 79.88 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/0.5167, allocations: 260.3 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.5169, allocations: 86.53 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.5171, allocations: 36.84 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007666/0.5179, allocations: 352.3 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.518, allocations: 42.77 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.518, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004602/0.5184, allocations: 129.6 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.5185, allocations: 55.41 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.5186, allocations: 130.6 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.5186, allocations: 29.7 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.774e-05/0.5187, allocations: 96.06 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.5188, allocations: 27.75 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.5189, allocations: 21.7 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002297/0.5191, allocations: 322.8 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/0.5192, allocations: 27.98 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.5193, allocations: 45.58 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.5195, allocations: 81.69 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5195, allocations: 0 / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002551/0.5198, allocations: 121.8 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5198, allocations: 4 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5198, allocations: 0 / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.5198, allocations: 3.984 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.52, allocations: 19.98 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.52, allocations: 32 / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8e-05/0.5201, allocations: 19.89 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.5201, allocations: 4 kB / 1.335 GB, free: 8.828 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 0.0001215/0.5202, allocations: 118.3 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.5202, allocations: 7.953 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.5206, allocations: 118.1 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.5206, allocations: 7.922 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5206, allocations: 0 / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.5206, allocations: 11.89 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.5206, allocations: 8 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.5207, allocations: 7.984 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.5208, allocations: 3.984 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003402/0.5211, allocations: 196.8 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003509/0.5214, allocations: 274.7 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001131/0.5216, allocations: 39.97 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.57e-05/0.5216, allocations: 102.9 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of Backend: time 5.51e-07/0.5216, allocations: 0 / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006719/0.5223, allocations: 154.2 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008813/0.5232, allocations: 0.6523 MB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of Templates: time 0.005582/0.5288, allocations: 1.714 MB / 1.338 GB, free: 5.352 MB / 1.029 GB " [Timeout remaining time 299] 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.45428302000073]