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.001727/0.001727, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002377/0.002377, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.739/1.739, allocations: 230.6 MB / 256 MB, free: 7.801 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 3.096/3.096, allocations: 475.9 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] 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.002218/0.002218, allocations: 67.97 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3985, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003791/0.4023, allocations: 1.614 MB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005323/0.4076, allocations: 3.135 MB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.4077, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.229e-05/0.4077, allocations: 3.938 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.566e-05/0.4078, allocations: 19.8 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.4086, allocations: 131.5 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.4087, allocations: 75.77 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.4088, allocations: 23.95 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.409, allocations: 43.8 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.4092, allocations: 39.83 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.4092, allocations: 4 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.4095, allocations: 95.78 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.4096, allocations: 19.92 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.4096, allocations: 23.86 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.4099, allocations: 127.5 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4099, allocations: 4 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4099, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.4099, allocations: 3.938 kB / 1.288 GB, free: 6.523 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.0006496/0.4106, allocations: 321.9 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.4106, allocations: 8.031 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/0.4109, allocations: 24.88 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.4112, allocations: 138 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.4112, allocations: 8.375 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.4112, allocations: 8.375 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.4115, allocations: 81.53 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4115, allocations: 0 / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4115, allocations: 4 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4115, allocations: 0 / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.4118, allocations: 75.88 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.4123, allocations: 260.4 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.4125, allocations: 82.55 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.4126, allocations: 40.83 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007868/0.4134, allocations: 356.5 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.4135, allocations: 34.56 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.4135, allocations: 4 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005287/0.414, allocations: 129.6 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.414, allocations: 55.34 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.4142, allocations: 125.9 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.4142, allocations: 33.73 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.4143, allocations: 103.9 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.4143, allocations: 27.73 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.4144, allocations: 25.7 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4146, allocations: 322.8 kB / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-05/0.4147, allocations: 31.97 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.694e-05/0.4147, allocations: 37.7 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.4149, allocations: 81.67 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.415, allocations: 0 / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002731/0.4152, allocations: 109.5 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4152, allocations: 12.03 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4153, allocations: 0 / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4153, allocations: 0 / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.4154, allocations: 23.98 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.4154, allocations: 7.875 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.4155, allocations: 7.984 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.4155, allocations: 8.391 kB / 1.291 GB, free: 3.789 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.0001107/0.4156, allocations: 113.8 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.4157, allocations: 7.953 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.416, allocations: 122 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.416, allocations: 4 kB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.416, allocations: 3.938 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.416, allocations: 0 / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.4162, allocations: 133.2 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4162, allocations: 3.938 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.4163, allocations: 15.98 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.4163, allocations: 3.984 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4163, allocations: 12.17 kB / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/0.4164, allocations: 4 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4164, allocations: 3.938 kB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.4167, allocations: 199.4 kB / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.4167, allocations: 11.89 kB / 1.291 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.4167, allocations: 3.938 kB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.4168, allocations: 11.98 kB / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.4169, allocations: 7.938 kB / 1.291 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.4169, allocations: 3.984 kB / 1.291 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.682e-05/0.417, allocations: 103.2 kB / 1.291 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.417, allocations: 0 / 1.291 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000282/0.4173, allocations: 20 kB / 1.292 GB, free: 2.945 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.0003126/0.4176, allocations: 115.2 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002708/0.4178, allocations: 67.97 kB / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4178, allocations: 64 / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.4179, allocations: 47.91 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.4182, allocations: 8 kB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.4189, allocations: 211.3 kB / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.419, allocations: 79.52 kB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.338e-05/0.4191, allocations: 8 kB / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.4191, allocations: 15.42 kB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of SimCode: time 9.61e-07/0.4191, allocations: 0 / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of Templates: time 0.005219/0.4243, allocations: 1.083 MB / 1.293 GB, free: 1.285 MB / 0.9825 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/jenkins/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: 9.849533587694168]