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.00137/0.00137, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001564/0.001564, allocations: 214.4 kB / 23.04 MB, free: 4.867 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.15/3.15, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002037/0.002037, allocations: 66.02 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3649, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003091/0.368, allocations: 1.615 MB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00433/0.3723, allocations: 3.133 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.3724, allocations: 7.938 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.3724, allocations: 3.938 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/0.3725, allocations: 11.88 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.3731, allocations: 139.4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.3732, allocations: 83.77 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3733, allocations: 11.98 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.3735, allocations: 43.8 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.08e-05/0.3736, allocations: 39.83 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.3736, allocations: 8 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.3738, allocations: 95.78 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.3739, allocations: 11.92 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.3739, allocations: 31.84 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.3742, allocations: 135.5 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3742, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3742, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3742, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 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.0006295/0.3748, allocations: 325.9 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3748, allocations: 8.031 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.3751, allocations: 24.88 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.3754, allocations: 138.3 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.3754, allocations: 384 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.3754, allocations: 8.375 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.3756, allocations: 81.72 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3756, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3756, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3756, allocations: 4 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.3758, allocations: 71.94 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.3763, allocations: 268.3 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.3765, allocations: 86.53 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3766, allocations: 36.84 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006441/0.3773, allocations: 348.5 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3773, allocations: 30.56 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.3773, allocations: 4 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004148/0.3777, allocations: 137.6 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.3778, allocations: 55.39 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3779, allocations: 133.1 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3779, allocations: 25.7 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.378, allocations: 100.1 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.378, allocations: 23.75 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.3781, allocations: 25.7 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3782, allocations: 319 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.694e-05/0.3783, allocations: 35.94 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.3784, allocations: 49.64 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.3786, allocations: 77.69 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3786, allocations: 0 / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002503/0.3789, allocations: 113.5 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3789, allocations: 4 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3789, allocations: 0 / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.3789, allocations: 4 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.379, allocations: 20.02 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.379, allocations: 7.938 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.136e-05/0.3791, allocations: 11.94 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3791, allocations: 0 / 1.335 GB, free: 8.836 MB / 1.029 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 9.579e-05/0.3792, allocations: 118.3 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.3792, allocations: 7.953 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.3796, allocations: 126 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3796, allocations: 4 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3796, allocations: 3.938 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3796, allocations: 0 / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.3797, allocations: 125.3 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3797, allocations: 0 / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3798, allocations: 23.92 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3798, allocations: 4 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3799, allocations: 3.984 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3799, allocations: 0 / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3799, allocations: 0 / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.3802, allocations: 227.8 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.3802, allocations: 7.891 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.3802, allocations: 4 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.3803, allocations: 7.984 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.3803, allocations: 4 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3803, allocations: 11.92 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.3804, allocations: 91.27 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3804, allocations: 3.938 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002549/0.3807, allocations: 24.19 kB / 1.336 GB, free: 7.992 MB / 1.029 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.0002233/0.3809, allocations: 119.1 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.3811, allocations: 71.91 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3811, allocations: 0 / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-05/0.3812, allocations: 39.91 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.3815, allocations: 8 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.382, allocations: 249.1 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.3821, allocations: 79.27 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.3821, allocations: 11.44 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.3821, allocations: 0 / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of Templates: time 0.003266/0.3854, allocations: 1.335 MB / 1.337 GB, free: 6.031 MB / 1.029 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/jenkins1/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: 11.082576941000298]