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.001231/0.001231, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009161/0.0009161, allocations: 177.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.871/0.871, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.65/1.65, allocations: 359 MB / 0.6044 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] 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.492e-06/1.492e-06, allocations: 0 / 0.9518 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.928e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001722/0.001741, allocations: 1.612 MB / 0.9533 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00252/0.004261, allocations: 3.118 MB / 0.9564 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.004316, allocations: 0 / 0.9564 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.004346, allocations: 11.86 kB / 0.9564 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.004415, allocations: 19.8 kB / 0.9564 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.004861, allocations: 135.4 kB / 0.9565 GB, free: 14 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.004967, allocations: 87.69 kB / 0.9566 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.005045, allocations: 7.984 kB / 0.9566 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.00517, allocations: 59.83 kB / 0.9567 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.614e-05/0.005236, allocations: 35.88 kB / 0.9567 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.00525, allocations: 4 kB / 0.9567 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.00541, allocations: 107.7 kB / 0.9568 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.005425, allocations: 11.98 kB / 0.9568 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.005451, allocations: 19.92 kB / 0.9569 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.005635, allocations: 143.5 kB / 0.957 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005637, allocations: 0 / 0.957 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005638, allocations: 0 / 0.957 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.005642, allocations: 0 / 0.957 GB, free: 13.53 MB / 0.9167 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.0003932/0.006035, allocations: 313.9 kB / 0.9573 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.006068, allocations: 12.03 kB / 0.9573 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.006189, allocations: 28.86 kB / 0.9573 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.00634, allocations: 133.6 kB / 0.9575 GB, free: 13 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.00635, allocations: 8.375 kB / 0.9575 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.006361, allocations: 4.375 kB / 0.9575 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.006501, allocations: 86.08 kB / 0.9576 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.006509, allocations: 192 / 0.9576 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.006522, allocations: 8.125 kB / 0.9576 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.006526, allocations: 4 kB / 0.9576 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.00664, allocations: 71.94 kB / 0.9576 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.00694, allocations: 256.5 kB / 0.9579 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.007079, allocations: 86.48 kB / 0.958 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.007133, allocations: 40.84 kB / 0.958 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003739/0.007507, allocations: 364.2 kB / 0.9584 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.007525, allocations: 34.56 kB / 0.9584 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.007526, allocations: 0 / 0.9584 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0005022/0.008028, allocations: 137.8 kB / 0.9585 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.008056, allocations: 51.41 kB / 0.9586 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.732e-05/0.008124, allocations: 126.8 kB / 0.9587 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.008136, allocations: 33.69 kB / 0.9587 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.00818, allocations: 96.03 kB / 0.9588 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.008194, allocations: 19.8 kB / 0.9588 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.008225, allocations: 29.66 kB / 0.9589 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.008297, allocations: 322.8 kB / 0.9592 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.008344, allocations: 31.98 kB / 0.9592 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-05/0.008396, allocations: 41.69 kB / 0.9592 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.947e-05/0.008495, allocations: 81.62 kB / 0.9593 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.008498, allocations: 8 kB / 0.9593 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001288/0.008626, allocations: 109.6 kB / 0.9594 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.008637, allocations: 8 kB / 0.9594 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.008641, allocations: 400 / 0.9594 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-06/0.008651, allocations: 0 / 0.9594 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.008724, allocations: 19.98 kB / 0.9595 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.008729, allocations: 0 / 0.9595 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.00876, allocations: 15.98 kB / 0.9595 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.008769, allocations: 4 kB / 0.9595 GB, free: 10.8 MB / 0.9167 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 5.752e-05/0.008827, allocations: 121.8 kB / 0.9596 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.008841, allocations: 7.953 kB / 0.9596 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.009009, allocations: 118 kB / 0.9597 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.009012, allocations: 4 kB / 0.9597 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.009015, allocations: 0 / 0.9597 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.009018, allocations: 4 kB / 0.9597 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.009124, allocations: 137.2 kB / 0.9598 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.009125, allocations: 3.938 kB / 0.9599 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.00917, allocations: 15.98 kB / 0.9599 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.009171, allocations: 0 / 0.9599 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.009179, allocations: 4.188 kB / 0.9599 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.009181, allocations: 4 kB / 0.9599 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.009181, allocations: 3.938 kB / 0.9599 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.009325, allocations: 207.3 kB / 0.9601 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-06/0.009333, allocations: 15.95 kB / 0.9601 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.009345, allocations: 3.984 kB / 0.9601 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.144e-05/0.009386, allocations: 4 kB / 0.9601 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.009422, allocations: 15.97 kB / 0.9601 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.009425, allocations: 0 / 0.9601 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.009459, allocations: 97.52 kB / 0.9602 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009459, allocations: 0 / 0.9602 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001609/0.00962, allocations: 20 kB / 0.9602 GB, free: 9.965 MB / 0.9167 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.0001402/0.00976, allocations: 123.1 kB / 0.9603 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.009916, allocations: 71.89 kB / 0.9604 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.009917, allocations: 0 / 0.9604 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.804e-05/0.009965, allocations: 35.98 kB / 0.9604 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.01014, allocations: 18.27 kB / 0.9605 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.01046, allocations: 227.1 kB / 0.9607 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.05e-05/0.01051, allocations: 71.33 kB / 0.9607 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.01054, allocations: 16.48 kB / 0.9608 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.01054, allocations: 0 / 0.9608 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of Templates: time 0.002063/0.0126, allocations: 1.343 MB / 0.9621 GB, free: 8.02 MB / 0.9167 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=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: 6.695283546112478]