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.001867/0.001867, allocations: 115.8 kB / 17.13 MB, free: 5.926 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.002282/0.002282, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.849/2.849, allocations: 0.49 GB / 0.7923 GB, free: 1.301 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.002038/0.002038, allocations: 67.91 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 176.1 MB / 1.322 GB, free: 25.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00238/1.031, allocations: 1.641 MB / 1.324 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003194/1.034, allocations: 3.381 MB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/1.034, allocations: 2.375 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/1.034, allocations: 3.938 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/1.035, allocations: 17.55 kB / 1.327 GB, free: 21.65 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/1.035, allocations: 136.8 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000112/1.035, allocations: 78.09 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/1.035, allocations: 12.94 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/1.035, allocations: 43.28 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/1.035, allocations: 43.45 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/1.035, allocations: 5.156 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/1.036, allocations: 115.9 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/1.036, allocations: 22.02 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/1.036, allocations: 26.97 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/1.036, allocations: 132.3 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.036, allocations: 0 / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/1.036, allocations: 0 / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.2e-06/1.036, allocations: 0 / 1.327 GB, free: 21.38 MB / 1.061 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.00049/1.036, allocations: 406.8 kB / 1.328 GB, free: 20.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/1.036, allocations: 13.3 kB / 1.328 GB, free: 20.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/1.037, allocations: 23.73 kB / 1.328 GB, free: 20.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/1.037, allocations: 194.9 kB / 1.328 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/1.037, allocations: 5.812 kB / 1.328 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/1.037, allocations: 8 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/1.037, allocations: 78.81 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/1.037, allocations: 4.75 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/1.037, allocations: 0 / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.037, allocations: 1.438 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/1.037, allocations: 79.5 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/1.038, allocations: 328.8 kB / 1.329 GB, free: 20.37 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/1.038, allocations: 88.38 kB / 1.329 GB, free: 20.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/1.038, allocations: 38.66 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00066/1.039, allocations: 0.7637 MB / 1.329 GB, free: 19.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/1.039, allocations: 35.69 kB / 1.329 GB, free: 19.47 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/1.039, allocations: 0 / 1.329 GB, free: 19.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004199/1.039, allocations: 130.3 kB / 1.33 GB, free: 19.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/1.039, allocations: 56.38 kB / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.437e-05/1.039, allocations: 123.3 kB / 1.33 GB, free: 19.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/1.039, allocations: 30.52 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/1.039, allocations: 91.39 kB / 1.33 GB, free: 19.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/1.039, allocations: 34.11 kB / 1.33 GB, free: 19.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/1.04, allocations: 19.84 kB / 1.33 GB, free: 19.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.711e-05/1.04, allocations: 319.6 kB / 1.33 GB, free: 18.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/1.04, allocations: 31.47 kB / 1.33 GB, free: 18.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/1.04, allocations: 42.75 kB / 1.33 GB, free: 18.72 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/1.04, allocations: 77.06 kB / 1.33 GB, free: 18.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.04, allocations: 0.75 kB / 1.33 GB, free: 18.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002499/1.04, allocations: 114.6 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.04, allocations: 7.562 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.04, allocations: 4.281 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.04, allocations: 4.906 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/1.04, allocations: 21.45 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/1.04, allocations: 13.48 kB / 1.331 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/1.04, allocations: 12.52 kB / 1.331 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/1.04, allocations: 5.562 kB / 1.331 GB, free: 18.59 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 6.859e-05/1.041, allocations: 113.4 kB / 1.331 GB, free: 18.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/1.041, allocations: 7.266 kB / 1.331 GB, free: 18.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/1.041, allocations: 125.8 kB / 1.331 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.041, allocations: 5.5 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.041, allocations: 0 / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.041, allocations: 0.625 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/1.041, allocations: 198.6 kB / 1.331 GB, free: 18.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.041, allocations: 0 / 1.331 GB, free: 18.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/1.041, allocations: 20.84 kB / 1.331 GB, free: 18.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/1.041, allocations: 4.547 kB / 1.331 GB, free: 18.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/1.041, allocations: 4.625 kB / 1.331 GB, free: 18.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.041, allocations: 9.031 kB / 1.331 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.041, allocations: 0 / 1.331 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/1.041, allocations: 199.3 kB / 1.331 GB, free: 18.01 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/1.041, allocations: 82.44 kB / 1.331 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/1.041, allocations: 1.438 kB / 1.331 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/1.042, allocations: 10.5 kB / 1.331 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/1.042, allocations: 14.09 kB / 1.331 GB, free: 17.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/1.042, allocations: 2.125 kB / 1.331 GB, free: 17.9 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.218e-05/1.042, allocations: 98.66 kB / 1.331 GB, free: 17.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.042, allocations: 0 / 1.331 GB, free: 17.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002645/1.042, allocations: 25.69 kB / 1.331 GB, free: 17.81 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.0002197/1.042, allocations: 118.2 kB / 1.332 GB, free: 17.72 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002637/1.042, allocations: 80 kB / 1.332 GB, free: 17.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.042, allocations: 1.031 kB / 1.332 GB, free: 17.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/1.043, allocations: 39.83 kB / 1.332 GB, free: 17.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/1.043, allocations: 11.09 kB / 1.332 GB, free: 17.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/1.043, allocations: 241.1 kB / 1.332 GB, free: 17.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/1.043, allocations: 0.6928 MB / 1.333 GB, free: 16.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/1.043, allocations: 15.86 kB / 1.333 GB, free: 16.78 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.043, allocations: 0 / 1.333 GB, free: 16.78 MB / 1.061 GB Notification: Performance of Templates: time 0.003575/1.047, allocations: 1.308 MB / 1.334 GB, free: 16.64 MB / 1.061 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: 11.48951964599837]