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.001487/0.001487, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001369/0.001369, allocations: 170 kB / 23.28 MB, free: 1.219 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.091/1.091, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.374/2.374, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.608e-05, allocations: 9.344 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002532/0.002559, allocations: 1.674 MB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003529/0.006088, allocations: 3.382 MB / 0.8947 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.006155, allocations: 0 / 0.8947 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.006188, allocations: 11.86 kB / 0.8947 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.00626, allocations: 11.86 kB / 0.8947 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00053/0.00679, allocations: 151.3 kB / 0.8949 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.006905, allocations: 83.69 kB / 0.895 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.006983, allocations: 8 kB / 0.895 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.007138, allocations: 63.81 kB / 0.895 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.00721, allocations: 31.89 kB / 0.8951 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.007224, allocations: 4 kB / 0.8951 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.007434, allocations: 99.66 kB / 0.8952 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.007454, allocations: 19.98 kB / 0.8952 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.007483, allocations: 23.91 kB / 0.8952 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.007677, allocations: 111.7 kB / 0.8953 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.00768, allocations: 0 / 0.8953 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.172e-06/0.007681, allocations: 0 / 0.8953 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.007684, allocations: 0 / 0.8953 GB, free: 4.055 MB / 0.8542 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.0004055/0.00809, allocations: 419.9 kB / 0.8957 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.008126, allocations: 8.625 kB / 0.8957 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.008281, allocations: 32.81 kB / 0.8958 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.008419, allocations: 144.4 kB / 0.8959 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.008429, allocations: 4.375 kB / 0.8959 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.008438, allocations: 4.375 kB / 0.8959 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.008561, allocations: 78.3 kB / 0.896 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.008567, allocations: 0 / 0.896 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.008576, allocations: 4 kB / 0.896 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.008582, allocations: 4 kB / 0.896 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.372e-05/0.008636, allocations: 23.97 kB / 0.896 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.008938, allocations: 296.2 kB / 0.8963 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.00906, allocations: 74.98 kB / 0.8964 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.009103, allocations: 27.67 kB / 0.8964 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004576/0.009561, allocations: 440.3 kB / 0.8968 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.009581, allocations: 37.39 kB / 0.8968 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.009583, allocations: 4 kB / 0.8968 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001761/0.009759, allocations: 77.61 kB / 0.8969 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.009783, allocations: 55.41 kB / 0.897 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.00987, allocations: 192.7 kB / 0.8972 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.00988, allocations: 25.7 kB / 0.8972 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.009934, allocations: 130.9 kB / 0.8973 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.009952, allocations: 31.72 kB / 0.8973 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.009995, allocations: 31.36 kB / 0.8974 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.01012, allocations: 496.2 kB / 0.8978 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.01014, allocations: 15.92 kB / 0.8979 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.522e-05/0.01017, allocations: 31.34 kB / 0.8979 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.295e-05/0.01024, allocations: 47.38 kB / 0.8979 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01024, allocations: 0 / 0.8979 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001114/0.01035, allocations: 69.58 kB / 0.898 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.01036, allocations: 8 kB / 0.898 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.01037, allocations: 3.984 kB / 0.898 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.01038, allocations: 3.984 kB / 0.898 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.587e-05/0.01046, allocations: 20 kB / 0.898 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.01047, allocations: 0 / 0.898 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.011e-05/0.01051, allocations: 23.75 kB / 0.8981 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.01051, allocations: 4.031 kB / 0.8981 GB, free: 1.016 MB / 0.8542 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 7.116e-05/0.01058, allocations: 164.6 kB / 0.8982 GB, free: 0.8438 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.01061, allocations: 7.953 kB / 0.8982 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.01076, allocations: 86.61 kB / 0.8983 GB, free: 0.7422 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01076, allocations: 0 / 0.8983 GB, free: 0.7422 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.01077, allocations: 0 / 0.8983 GB, free: 0.7422 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01077, allocations: 3.938 kB / 0.8983 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.0109, allocations: 113.2 kB / 0.8984 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.0109, allocations: 0 / 0.8984 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.01096, allocations: 23.92 kB / 0.8984 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01096, allocations: 0 / 0.8984 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.01097, allocations: 12 kB / 0.8985 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01097, allocations: 3.938 kB / 0.8985 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01098, allocations: 4.062 kB / 0.8985 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.01112, allocations: 223.8 kB / 0.8987 GB, free: 328 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-06/0.01113, allocations: 3.953 kB / 0.8987 GB, free: 324 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.01114, allocations: 8 kB / 0.8987 GB, free: 316 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.874e-05/0.0112, allocations: 3.984 kB / 0.8987 GB, free: 312 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.01123, allocations: 7.984 kB / 0.8987 GB, free: 304 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.01124, allocations: 4 kB / 0.8987 GB, free: 300 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.01128, allocations: 135.2 kB / 0.8988 GB, free: 164 kB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01128, allocations: 0 / 0.8988 GB, free: 164 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002337/0.01152, allocations: 27.94 kB / 0.8989 GB, free: 136 kB / 0.8542 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.0001601/0.01168, allocations: 119.1 kB / 0.899 GB, free: 8 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.01179, allocations: 39.61 kB / 0.899 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01179, allocations: 0 / 0.899 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.01183, allocations: 35.59 kB / 0.899 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.01206, allocations: 16.05 kB / 0.8991 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.0126, allocations: 198.7 kB / 0.8992 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.783e-05/0.01263, allocations: 59.34 kB / 0.8993 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.561e-05/0.01268, allocations: 8 kB / 0.8993 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.01274, allocations: 82.19 kB / 0.8994 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of SimCode: time 7.61e-07/0.01275, allocations: 0 / 0.8994 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of Templates: time 0.003164/0.01591, allocations: 1.147 MB / 0.9005 GB, free: 14.39 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.264915777835995]