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.002178/0.002178, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.00202/0.00202, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.646/1.646, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.985/2.985, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.195e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003108/0.003139, allocations: 1.634 MB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004811/0.00795, allocations: 3.403 MB / 0.7913 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.008017, allocations: 0 / 0.7913 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.008047, allocations: 3.938 kB / 0.7913 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.366e-05/0.00813, allocations: 16.95 kB / 0.7914 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.008719, allocations: 137.4 kB / 0.7915 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.008881, allocations: 92.95 kB / 0.7916 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.191e-05/0.008962, allocations: 4 kB / 0.7916 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.009149, allocations: 63.81 kB / 0.7916 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.484e-05/0.009244, allocations: 33.64 kB / 0.7917 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.009267, allocations: 4 kB / 0.7917 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.009551, allocations: 95.72 kB / 0.7918 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.009583, allocations: 19.91 kB / 0.7918 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.009633, allocations: 21.28 kB / 0.7918 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.009936, allocations: 135.6 kB / 0.7919 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.009943, allocations: 3.984 kB / 0.7919 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.253e-06/0.009944, allocations: 1.812 kB / 0.7919 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.00995, allocations: 3.938 kB / 0.7919 GB, free: 7.105 MB / 0.7448 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.0006546/0.0106, allocations: 415.9 kB / 0.7923 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.01066, allocations: 12.02 kB / 0.7924 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.01088, allocations: 31.41 kB / 0.7924 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.0111, allocations: 140.5 kB / 0.7925 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.01111, allocations: 384 / 0.7925 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.01113, allocations: 8.375 kB / 0.7925 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.01134, allocations: 82.08 kB / 0.7926 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.01135, allocations: 0.6875 kB / 0.7926 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.01137, allocations: 8.656 kB / 0.7926 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.01137, allocations: 1.938 kB / 0.7926 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.01156, allocations: 67.89 kB / 0.7927 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.01211, allocations: 315.7 kB / 0.793 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.01249, allocations: 93.61 kB / 0.7931 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.0126, allocations: 43.86 kB / 0.7931 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007527/0.01336, allocations: 449 kB / 0.7935 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.01339, allocations: 37.39 kB / 0.7936 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.01339, allocations: 1.281 kB / 0.7936 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004056/0.0138, allocations: 121.6 kB / 0.7937 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.01385, allocations: 55.44 kB / 0.7937 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.01401, allocations: 201.4 kB / 0.7939 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.01403, allocations: 25.7 kB / 0.794 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.01414, allocations: 138.8 kB / 0.7941 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.01417, allocations: 32.86 kB / 0.7941 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.01423, allocations: 31.38 kB / 0.7942 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002586/0.01449, allocations: 0.4962 MB / 0.7946 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.441e-05/0.01457, allocations: 24.95 kB / 0.7947 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-05/0.01467, allocations: 47.36 kB / 0.7947 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.01484, allocations: 81.05 kB / 0.7948 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01485, allocations: 0 / 0.7948 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002432/0.01509, allocations: 111.5 kB / 0.7949 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.01511, allocations: 5.562 kB / 0.7949 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.01511, allocations: 3.984 kB / 0.7949 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.01513, allocations: 0 / 0.7949 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.01526, allocations: 25.12 kB / 0.7949 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01527, allocations: 3.984 kB / 0.7949 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.01534, allocations: 4 kB / 0.7949 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.01535, allocations: 1.094 kB / 0.7949 GB, free: 3.832 MB / 0.7448 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.0001343/0.01548, allocations: 164.5 kB / 0.7951 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.01552, allocations: 12.61 kB / 0.7951 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.01582, allocations: 114.7 kB / 0.7952 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01582, allocations: 3.125 kB / 0.7952 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.01583, allocations: 8 kB / 0.7952 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.01583, allocations: 0 / 0.7952 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.01604, allocations: 160.4 kB / 0.7954 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01604, allocations: 0 / 0.7954 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.01614, allocations: 15.98 kB / 0.7954 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01614, allocations: 0 / 0.7954 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.01615, allocations: 3.984 kB / 0.7954 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01616, allocations: 5.781 kB / 0.7954 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01616, allocations: 0 / 0.7954 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.01649, allocations: 251.8 kB / 0.7956 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.0165, allocations: 3.953 kB / 0.7956 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.01652, allocations: 8.969 kB / 0.7957 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.01661, allocations: 3.984 kB / 0.7957 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.01666, allocations: 11.98 kB / 0.7957 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.01667, allocations: 4.031 kB / 0.7957 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.7e-05/0.01677, allocations: 139.2 kB / 0.7958 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01677, allocations: 3.938 kB / 0.7958 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002555/0.01702, allocations: 27.94 kB / 0.7958 GB, free: 2.844 MB / 0.7448 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.0002365/0.01726, allocations: 107.2 kB / 0.7959 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002522/0.01751, allocations: 83.58 kB / 0.796 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01751, allocations: 4.062 kB / 0.796 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.01761, allocations: 43.67 kB / 0.7961 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.01787, allocations: 17.47 kB / 0.7961 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.01835, allocations: 202.5 kB / 0.7963 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.922e-05/0.01843, allocations: 71.33 kB / 0.7963 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.75e-05/0.01849, allocations: 12.53 kB / 0.7964 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.01853, allocations: 12.5 kB / 0.7964 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.01853, allocations: 0 / 0.7964 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of Templates: time 0.004526/0.02306, allocations: 1.073 MB / 0.7974 GB, free: 1.188 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 240] 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: 8.264201511978172]