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.001274/0.001274, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001758/0.003032, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001121/0.001121, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002535, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9777/0.9777, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1007/1.078, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.368/2.368, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2627/2.631, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.443e-06/1.443e-06, allocations: 0 / 0.8183 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.096e-05, allocations: 8.562 kB / 0.8184 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002027/0.002048, allocations: 1.709 MB / 0.82 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002577/0.004625, allocations: 3.436 MB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.004669, allocations: 0 / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.004696, allocations: 7.875 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.915e-05/0.004735, allocations: 19.8 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.005047, allocations: 143.4 kB / 0.8235 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.005149, allocations: 75.72 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.399e-05/0.005223, allocations: 12 kB / 0.8236 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.005352, allocations: 67.75 kB / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.992e-05/0.005421, allocations: 35.88 kB / 0.8237 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.005434, allocations: 8 kB / 0.8237 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.005614, allocations: 95.73 kB / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.005629, allocations: 15.94 kB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.005656, allocations: 19.94 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.005818, allocations: 103.7 kB / 0.824 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.549e-05/0.005833, allocations: 0 / 0.824 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005834, allocations: 0 / 0.824 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.005852, allocations: 0 / 0.824 GB, free: 13.06 MB / 0.8073 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.0004385/0.00629, allocations: 304.2 kB / 0.8242 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.006324, allocations: 12.62 kB / 0.8243 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.006484, allocations: 106 kB / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.006616, allocations: 129.6 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.00663, allocations: 8.375 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.006639, allocations: 4.375 kB / 0.8245 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.006748, allocations: 82.22 kB / 0.8246 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.006756, allocations: 0 / 0.8246 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.006764, allocations: 0 / 0.8246 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.00677, allocations: 4 kB / 0.8246 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.006816, allocations: 27.97 kB / 0.8246 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.007058, allocations: 208.2 kB / 0.8248 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.007163, allocations: 62.5 kB / 0.8249 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.007183, allocations: 16.86 kB / 0.8249 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/0.007555, allocations: 314.9 kB / 0.8252 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.007574, allocations: 42.5 kB / 0.8252 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.007575, allocations: 4 kB / 0.8252 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001307/0.007706, allocations: 65.66 kB / 0.8253 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.007734, allocations: 55.41 kB / 0.8253 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.729e-05/0.007791, allocations: 118.7 kB / 0.8254 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.0078, allocations: 25.7 kB / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.00784, allocations: 104 kB / 0.8256 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.007854, allocations: 23.78 kB / 0.8256 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.007882, allocations: 21.7 kB / 0.8256 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.00795, allocations: 326.8 kB / 0.8259 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.007963, allocations: 7.938 kB / 0.8259 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.078e-05/0.007984, allocations: 21.72 kB / 0.826 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.144e-05/0.008025, allocations: 41.67 kB / 0.826 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.008027, allocations: 112 / 0.826 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.267e-05/0.00809, allocations: 73.86 kB / 0.8261 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.008101, allocations: 4 kB / 0.8261 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.008106, allocations: 80 / 0.8261 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.008115, allocations: 0 / 0.8261 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.008192, allocations: 19.98 kB / 0.8261 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.008197, allocations: 7.984 kB / 0.8261 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.008222, allocations: 7.891 kB / 0.8261 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.008228, allocations: 8.031 kB / 0.8261 GB, free: 10.65 MB / 0.8073 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 4.888e-05/0.008277, allocations: 113.8 kB / 0.8262 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.008292, allocations: 7.984 kB / 0.8262 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.008393, allocations: 78.08 kB / 0.8263 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.008395, allocations: 0 / 0.8263 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.008397, allocations: 0 / 0.8263 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.0084, allocations: 0 / 0.8263 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.67e-05/0.008486, allocations: 89.81 kB / 0.8264 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.008487, allocations: 0 / 0.8264 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.008541, allocations: 27.92 kB / 0.8264 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.008551, allocations: 11.89 kB / 0.8264 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.008552, allocations: 0 / 0.8264 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.008557, allocations: 0 / 0.8264 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.008558, allocations: 3.984 kB / 0.8264 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.008559, allocations: 0 / 0.8264 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.96e-05/0.008639, allocations: 159.5 kB / 0.8266 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.008651, allocations: 3.984 kB / 0.8266 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.008687, allocations: 4 kB / 0.8266 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.008714, allocations: 7.984 kB / 0.8266 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.008718, allocations: 8 kB / 0.8266 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.88e-05/0.008736, allocations: 27.83 kB / 0.8266 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008736, allocations: 0 / 0.8266 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001299/0.008866, allocations: 20 kB / 0.8267 GB, free: 10.04 MB / 0.8073 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.0002063/0.009073, allocations: 100.2 kB / 0.8267 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.66e-05/0.009149, allocations: 40.83 kB / 0.8268 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.009154, allocations: 0 / 0.8268 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.601e-05/0.00918, allocations: 32.78 kB / 0.8268 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.00932, allocations: 20 kB / 0.8268 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.01046, allocations: 212.8 kB / 0.827 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.712e-05/0.0105, allocations: 55.36 kB / 0.8271 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.01054, allocations: 20.09 kB / 0.8271 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.01059, allocations: 55.38 kB / 0.8272 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.01059, allocations: 0 / 0.8272 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of Templates: time 0.002588/0.01318, allocations: 1.106 MB / 0.8282 GB, free: 8.359 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.ref.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.075554613955319]