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.001437/0.001437, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001678/0.001678, allocations: 221.7 kB / 22.99 MB, free: 4.914 MB / 14.72 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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 3.394/3.394, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.39 kB / 1.187 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3642, allocations: 181.9 MB / 1.365 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003457/0.3677, allocations: 1.611 MB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004781/0.3724, allocations: 3.126 MB / 1.369 GB, free: 8.961 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.803e-05/0.3725, allocations: 4 kB / 1.369 GB, free: 8.957 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.316e-05/0.3726, allocations: 7.922 kB / 1.369 GB, free: 8.949 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.109e-05/0.3727, allocations: 19.8 kB / 1.369 GB, free: 8.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.3733, allocations: 135.5 kB / 1.369 GB, free: 8.797 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.3735, allocations: 79.7 kB / 1.37 GB, free: 8.719 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.3736, allocations: 8 kB / 1.37 GB, free: 8.711 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.3737, allocations: 47.83 kB / 1.37 GB, free: 8.664 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.3738, allocations: 35.84 kB / 1.37 GB, free: 8.629 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.3739, allocations: 15.94 kB / 1.37 GB, free: 8.613 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.3742, allocations: 95.78 kB / 1.37 GB, free: 8.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.3742, allocations: 15.92 kB / 1.37 GB, free: 8.504 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.3743, allocations: 23.86 kB / 1.37 GB, free: 8.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.3746, allocations: 131.5 kB / 1.37 GB, free: 8.352 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3746, allocations: 3.938 kB / 1.37 GB, free: 8.348 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3746, allocations: 0 / 1.37 GB, free: 8.348 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.3746, allocations: 3.938 kB / 1.37 GB, free: 8.344 MB / 1.061 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.0006501/0.3752, allocations: 318 kB / 1.37 GB, free: 8.004 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3753, allocations: 12.03 kB / 1.37 GB, free: 7.992 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.3755, allocations: 28.86 kB / 1.37 GB, free: 7.965 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.3758, allocations: 134.4 kB / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3758, allocations: 8.125 kB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.3758, allocations: 4 kB / 1.37 GB, free: 7.797 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.376, allocations: 73.66 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3761, allocations: 0 / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3761, allocations: 8 kB / 1.37 GB, free: 7.711 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3761, allocations: 4 kB / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.3763, allocations: 75.88 kB / 1.371 GB, free: 7.633 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.3768, allocations: 260.4 kB / 1.371 GB, free: 7.348 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.377, allocations: 82.55 kB / 1.371 GB, free: 7.258 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3771, allocations: 37.02 kB / 1.371 GB, free: 7.219 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006808/0.3778, allocations: 356.2 kB / 1.371 GB, free: 6.852 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3778, allocations: 34.56 kB / 1.371 GB, free: 6.809 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.3778, allocations: 0 / 1.371 GB, free: 6.809 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004234/0.3783, allocations: 141.5 kB / 1.371 GB, free: 6.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3783, allocations: 59.41 kB / 1.371 GB, free: 6.594 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.3785, allocations: 125.9 kB / 1.372 GB, free: 6.461 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3785, allocations: 29.7 kB / 1.372 GB, free: 6.426 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.3786, allocations: 96.03 kB / 1.372 GB, free: 6.328 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.3786, allocations: 27.78 kB / 1.372 GB, free: 6.301 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.3786, allocations: 21.67 kB / 1.372 GB, free: 6.273 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3788, allocations: 322.8 kB / 1.372 GB, free: 5.949 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.915e-05/0.3789, allocations: 27.98 kB / 1.372 GB, free: 5.922 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.379, allocations: 49.62 kB / 1.372 GB, free: 5.867 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3792, allocations: 77.69 kB / 1.372 GB, free: 5.785 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3792, allocations: 0 / 1.372 GB, free: 5.785 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000252/0.3794, allocations: 113.6 kB / 1.372 GB, free: 5.668 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3795, allocations: 4 kB / 1.372 GB, free: 5.664 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3795, allocations: 0 / 1.372 GB, free: 5.664 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3795, allocations: 7.938 kB / 1.372 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.3796, allocations: 23.95 kB / 1.372 GB, free: 5.633 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3796, allocations: 0 / 1.372 GB, free: 5.633 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.3797, allocations: 15.94 kB / 1.372 GB, free: 5.617 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3797, allocations: 4 kB / 1.372 GB, free: 5.613 MB / 1.061 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.0001083/0.3798, allocations: 114.9 kB / 1.372 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.3799, allocations: 11.94 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.3802, allocations: 122 kB / 1.373 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.3802, allocations: 0 / 1.373 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3802, allocations: 4 kB / 1.373 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3802, allocations: 7.922 kB / 1.373 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.3804, allocations: 125.3 kB / 1.373 GB, free: 5.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3804, allocations: 4 kB / 1.373 GB, free: 5.188 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3805, allocations: 15.98 kB / 1.373 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3805, allocations: 0 / 1.373 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3805, allocations: 8 kB / 1.373 GB, free: 5.164 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.3805, allocations: 3.938 kB / 1.373 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3805, allocations: 0 / 1.373 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.3808, allocations: 211.4 kB / 1.373 GB, free: 4.938 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.3808, allocations: 11.89 kB / 1.373 GB, free: 4.926 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.3809, allocations: 4 kB / 1.373 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.381, allocations: 7.938 kB / 1.373 GB, free: 4.914 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.381, allocations: 11.92 kB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.381, allocations: 0 / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.327e-05/0.3811, allocations: 97.2 kB / 1.373 GB, free: 4.809 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3811, allocations: 0 / 1.373 GB, free: 4.809 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002645/0.3813, allocations: 27.94 kB / 1.373 GB, free: 4.781 MB / 1.061 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.0002094/0.3816, allocations: 115.2 kB / 1.373 GB, free: 4.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.3818, allocations: 68.5 kB / 1.373 GB, free: 4.594 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3818, allocations: 3.938 kB / 1.373 GB, free: 4.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3819, allocations: 39.97 kB / 1.373 GB, free: 4.551 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.3822, allocations: 10.81 kB / 1.373 GB, free: 4.543 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.3827, allocations: 253 kB / 1.374 GB, free: 4.262 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.044e-05/0.3828, allocations: 79.58 kB / 1.374 GB, free: 4.164 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.3828, allocations: 11.44 kB / 1.374 GB, free: 4.152 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.3828, allocations: 0 / 1.374 GB, free: 4.152 MB / 1.061 GB Notification: Performance of Templates: time 0.003583/0.3864, allocations: 1.341 MB / 1.375 GB, free: 2.82 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.397730560041964]