Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.001555/0.001555, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001769/0.001769, allocations: 216.4 kB / 23.01 MB, free: 4.602 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.091/3.091, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") [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.002015/0.002015, allocations: 70.28 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3817, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002941/0.3846, allocations: 1.615 MB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3862, allocations: 0.9697 MB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.838e-05/0.3863, allocations: 7.938 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.3866, allocations: 59.61 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004778/0.387, allocations: 143.3 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.934e-05/0.3871, allocations: 11.97 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.3875, allocations: 378.2 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.028e-05/0.3876, allocations: 12.94 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.3879, allocations: 159.3 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.3881, allocations: 135.4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.3881, allocations: 12 kB / 1.331 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.896e-05/0.3882, allocations: 16 kB / 1.331 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.3882, allocations: 55.69 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.3884, allocations: 127.2 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.3887, allocations: 298.7 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3887, allocations: 4 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3887, allocations: 0 / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.3887, allocations: 0 / 1.331 GB, free: 13.51 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001147/0.3899, allocations: 0.5587 MB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3899, allocations: 16.03 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.39, allocations: 28.75 kB / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.3905, allocations: 336.7 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.3905, allocations: 384 / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.3905, allocations: 4.312 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3907, allocations: 109.4 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3907, allocations: 7.984 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3907, allocations: 0 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.3907, allocations: 0 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.3908, allocations: 67.86 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.3912, allocations: 323.2 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.3914, allocations: 110.3 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.513e-05/0.3915, allocations: 59.45 kB / 1.333 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3915, allocations: 0 / 1.333 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3915, allocations: 42.5 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.3915, allocations: 0 / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003427/0.3919, allocations: 189.2 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.392, allocations: 132.5 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006245/0.3926, allocations: 0.5093 MB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3926, allocations: 26.2 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.3927, allocations: 168.1 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.3928, allocations: 11.91 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.3928, allocations: 25.64 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.393, allocations: 350.7 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/0.393, allocations: 31.97 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.3931, allocations: 63.33 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3933, allocations: 107.3 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3933, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002124/0.3935, allocations: 141.4 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3935, allocations: 11.94 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3935, allocations: 0 / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3935, allocations: 4.125 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3936, allocations: 11.98 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3936, allocations: 4 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.3938, allocations: 7.984 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.3938, allocations: 8 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001689/0.3939, allocations: 182.2 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.394, allocations: 39.7 kB / 1.335 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.3943, allocations: 191.6 kB / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3943, allocations: 0 / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3943, allocations: 4 kB / 1.335 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3943, allocations: 3.984 kB / 1.335 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.3946, allocations: 272.5 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3946, allocations: 0 / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.472e-05/0.3947, allocations: 15.98 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.3947, allocations: 7.938 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3947, allocations: 0 / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3948, allocations: 8.125 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3948, allocations: 0 / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.395, allocations: 191.3 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.3951, allocations: 71.61 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.3952, allocations: 4 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3953, allocations: 12.08 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.3954, allocations: 15.97 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3954, allocations: 4 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004614/0.3958, allocations: 391 kB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3958, allocations: 0 / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002464/0.3961, allocations: 40 kB / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.0001082/0.3962, allocations: 107.1 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.3964, allocations: 87.86 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3964, allocations: 0 / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.855e-05/0.3964, allocations: 43.91 kB / 1.336 GB, free: 8.062 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.3968, allocations: 78.06 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.3978, allocations: 0.6021 MB / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.3983, allocations: 0.8143 MB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.3983, allocations: 19.44 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.3983, allocations: 4 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of Templates: time 0.006049/0.4044, allocations: 3.732 MB / 1.341 GB, free: 2.766 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.446542776015121]