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.0008362/0.0008362, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008203/0.0008203, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8702/0.8702, allocations: 177.1 MB / 203.5 MB, free: 5.684 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.685/1.685, allocations: 377.8 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 4 kB / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.531e-05, allocations: 5.375 kB / 0.9822 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001973/0.001998, allocations: 1.616 MB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.004625, allocations: 3.11 MB / 0.9869 GB, free: 13.29 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.004684, allocations: 0 / 0.9869 GB, free: 13.29 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.00472, allocations: 7.922 kB / 0.9869 GB, free: 13.29 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.725e-05/0.004787, allocations: 19.86 kB / 0.9869 GB, free: 13.27 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.005239, allocations: 139.3 kB / 0.987 GB, free: 13.13 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.005342, allocations: 83.7 kB / 0.9871 GB, free: 13.05 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.559e-05/0.005427, allocations: 7.984 kB / 0.9871 GB, free: 13.04 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.005554, allocations: 59.83 kB / 0.9872 GB, free: 12.98 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.005619, allocations: 35.89 kB / 0.9872 GB, free: 12.95 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.005633, allocations: 4 kB / 0.9872 GB, free: 12.94 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.005805, allocations: 103.7 kB / 0.9873 GB, free: 12.84 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.00582, allocations: 15.92 kB / 0.9873 GB, free: 12.82 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.005846, allocations: 15.94 kB / 0.9873 GB, free: 12.81 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.006037, allocations: 147.5 kB / 0.9875 GB, free: 12.66 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006039, allocations: 0 / 0.9875 GB, free: 12.66 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.51e-07/0.006039, allocations: 0 / 0.9875 GB, free: 12.66 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.006044, allocations: 0 / 0.9875 GB, free: 12.66 MB / 0.948 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.0004056/0.006449, allocations: 321.9 kB / 0.9878 GB, free: 12.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 0.0003119/0.006761, allocations: 8.031 kB / 0.9878 GB, free: 12.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.006896, allocations: 24.88 kB / 0.9878 GB, free: 12.29 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.007061, allocations: 129.7 kB / 0.9879 GB, free: 12.14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.007073, allocations: 8.375 kB / 0.9879 GB, free: 12.13 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.007086, allocations: 4.375 kB / 0.9879 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.007246, allocations: 82.14 kB / 0.988 GB, free: 12.04 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.007257, allocations: 4.188 kB / 0.988 GB, free: 12.04 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.007271, allocations: 8.125 kB / 0.988 GB, free: 12.03 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.007277, allocations: 0 / 0.988 GB, free: 12.03 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.007403, allocations: 75.88 kB / 0.9881 GB, free: 11.95 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.007759, allocations: 248.5 kB / 0.9883 GB, free: 11.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.007917, allocations: 90.53 kB / 0.9884 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.007977, allocations: 40.84 kB / 0.9885 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004101/0.008387, allocations: 360.3 kB / 0.9888 GB, free: 11.17 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.008413, allocations: 42.55 kB / 0.9889 GB, free: 11.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.008414, allocations: 0 / 0.9889 GB, free: 11.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002942/0.008709, allocations: 137.6 kB / 0.989 GB, free: 10.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.008745, allocations: 51.52 kB / 0.989 GB, free: 10.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/0.008824, allocations: 125.8 kB / 0.9892 GB, free: 10.78 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.008837, allocations: 29.7 kB / 0.9892 GB, free: 10.75 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.008894, allocations: 92.08 kB / 0.9893 GB, free: 10.65 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.008912, allocations: 27.75 kB / 0.9893 GB, free: 10.62 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.008948, allocations: 29.73 kB / 0.9893 GB, free: 10.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.009037, allocations: 322.8 kB / 0.9896 GB, free: 10.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.009087, allocations: 27.98 kB / 0.9897 GB, free: 10.24 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.027e-05/0.009147, allocations: 49.64 kB / 0.9897 GB, free: 10.18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.009254, allocations: 73.69 kB / 0.9898 GB, free: 10.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009256, allocations: 0 / 0.9898 GB, free: 10.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001472/0.009403, allocations: 113.9 kB / 0.9899 GB, free: 9.988 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.009418, allocations: 8 kB / 0.9899 GB, free: 9.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.009423, allocations: 80 / 0.9899 GB, free: 9.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.009438, allocations: 0 / 0.9899 GB, free: 9.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.009522, allocations: 28 kB / 0.9899 GB, free: 9.953 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.00953, allocations: 3.984 kB / 0.9899 GB, free: 9.949 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.009571, allocations: 11.94 kB / 0.9899 GB, free: 9.938 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.009579, allocations: 4 kB / 0.9899 GB, free: 9.934 MB / 0.948 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.827e-05/0.009647, allocations: 117.8 kB / 0.9901 GB, free: 9.809 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.009663, allocations: 3.953 kB / 0.9901 GB, free: 9.805 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.009854, allocations: 122 kB / 0.9902 GB, free: 9.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.009857, allocations: 8 kB / 0.9902 GB, free: 9.672 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.009863, allocations: 0 / 0.9902 GB, free: 9.672 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.009868, allocations: 3.984 kB / 0.9902 GB, free: 9.668 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.009979, allocations: 133.2 kB / 0.9903 GB, free: 9.508 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009981, allocations: 4 kB / 0.9903 GB, free: 9.504 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.01003, allocations: 19.92 kB / 0.9903 GB, free: 9.484 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01003, allocations: 0 / 0.9903 GB, free: 9.484 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.01004, allocations: 8 kB / 0.9903 GB, free: 9.477 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01004, allocations: 0 / 0.9903 GB, free: 9.477 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01004, allocations: 4 kB / 0.9903 GB, free: 9.473 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.0102, allocations: 207.4 kB / 0.9905 GB, free: 9.254 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.01021, allocations: 11.89 kB / 0.9906 GB, free: 9.242 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.01023, allocations: 0 / 0.9906 GB, free: 9.242 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.423e-05/0.01027, allocations: 7.984 kB / 0.9906 GB, free: 9.234 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.01032, allocations: 11.98 kB / 0.9906 GB, free: 9.223 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.01032, allocations: 0 / 0.9906 GB, free: 9.223 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.218e-05/0.01036, allocations: 98.64 kB / 0.9907 GB, free: 9.129 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01036, allocations: 192 / 0.9907 GB, free: 9.129 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001781/0.01054, allocations: 20 kB / 0.9907 GB, free: 9.109 MB / 0.948 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.0001965/0.01074, allocations: 127 kB / 0.9908 GB, free: 8.977 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.0109, allocations: 67.95 kB / 0.9909 GB, free: 8.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.01091, allocations: 0 / 0.9909 GB, free: 8.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.124e-05/0.01097, allocations: 39.92 kB / 0.9909 GB, free: 8.871 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.01118, allocations: 11.94 kB / 0.9909 GB, free: 8.859 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.01155, allocations: 231.1 kB / 0.9911 GB, free: 8.602 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.949e-05/0.01161, allocations: 75.33 kB / 0.9912 GB, free: 8.508 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.01165, allocations: 16.48 kB / 0.9912 GB, free: 8.488 MB / 0.948 GB Notification: Performance of SimCode: time 7.72e-07/0.01165, allocations: 0 / 0.9912 GB, free: 8.488 MB / 0.948 GB Notification: Performance of Templates: time 0.00214/0.01379, allocations: 1.337 MB / 0.9925 GB, free: 7.156 MB / 0.948 GB " [Timeout remaining time 300] 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/jenkins/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: 6.249843460507691]