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.001795/0.001795, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.00209/0.00209, allocations: 157 kB / 23.01 MB, free: 4.949 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.461/1.461, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.854/2.854, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.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.003069/0.003069, allocations: 67.84 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8761/0.8792, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002324/0.8815, allocations: 1.57 MB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.8826, allocations: 0.8709 MB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.8827, allocations: 3.938 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.8829, allocations: 55.83 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.8833, allocations: 139 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.231e-05/0.8833, allocations: 10.86 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.8836, allocations: 378.3 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.8837, allocations: 13.5 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.8839, allocations: 150.8 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.8841, allocations: 144.2 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.8841, allocations: 17.19 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-05/0.8841, allocations: 14.31 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.8842, allocations: 50 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.8843, allocations: 112.2 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.8845, allocations: 297.8 kB / 1.158 GB, free: 31.08 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.8845, allocations: 0 / 1.158 GB, free: 31.08 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8845, allocations: 0 / 1.158 GB, free: 31.08 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.8845, allocations: 0 / 1.158 GB, free: 31.08 MB / 1.076 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.0008729/0.8854, allocations: 0.5621 MB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.8854, allocations: 14.62 kB / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.8855, allocations: 30 kB / 1.158 GB, free: 30.63 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.8859, allocations: 335.9 kB / 1.159 GB, free: 30.4 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.8859, allocations: 384 / 1.159 GB, free: 30.4 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.8859, allocations: 3.188 kB / 1.159 GB, free: 30.4 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.886, allocations: 102.5 kB / 1.159 GB, free: 30.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.886, allocations: 0 / 1.159 GB, free: 30.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.8861, allocations: 4 kB / 1.159 GB, free: 30.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.8861, allocations: 2.562 kB / 1.159 GB, free: 30.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.299e-05/0.8861, allocations: 69.33 kB / 1.159 GB, free: 30.3 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.8864, allocations: 273.5 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.883e-05/0.8865, allocations: 100.9 kB / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.407e-05/0.8866, allocations: 67.62 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.8866, allocations: 10.86 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.8866, allocations: 33.03 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.8866, allocations: 0 / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002841/0.8869, allocations: 189.1 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.8869, allocations: 142.4 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.8874, allocations: 0.5122 MB / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.8874, allocations: 28.7 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.8875, allocations: 169 kB / 1.16 GB, free: 29.26 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.8875, allocations: 14.78 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.8875, allocations: 22.75 kB / 1.16 GB, free: 29.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.8876, allocations: 341.5 kB / 1.161 GB, free: 28.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.951e-05/0.8876, allocations: 35.75 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.054e-05/0.8877, allocations: 60.97 kB / 1.161 GB, free: 28.85 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.8878, allocations: 103.5 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8878, allocations: 0 / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001703/0.888, allocations: 147.1 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.888, allocations: 5.75 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.888, allocations: 7.312 kB / 1.161 GB, free: 28.72 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.888, allocations: 0 / 1.161 GB, free: 28.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.8881, allocations: 12.48 kB / 1.161 GB, free: 28.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.8881, allocations: 4.125 kB / 1.161 GB, free: 28.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.8883, allocations: 9.188 kB / 1.161 GB, free: 28.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.8883, allocations: 2.875 kB / 1.161 GB, free: 28.72 MB / 1.076 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.0001057/0.8884, allocations: 179.5 kB / 1.161 GB, free: 28.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.8884, allocations: 37.05 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.8887, allocations: 185.1 kB / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.8887, allocations: 0 / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.8887, allocations: 2.938 kB / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8887, allocations: 8.062 kB / 1.161 GB, free: 28.47 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.8889, allocations: 230.6 kB / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8889, allocations: 3.156 kB / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.493e-05/0.8889, allocations: 15.14 kB / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.8889, allocations: 0 / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.889, allocations: 2.812 kB / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.889, allocations: 7.938 kB / 1.162 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.889, allocations: 2.906 kB / 1.162 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.8891, allocations: 190.4 kB / 1.162 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.8893, allocations: 64.41 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.8893, allocations: 6.875 kB / 1.162 GB, free: 28.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.8894, allocations: 16.36 kB / 1.162 GB, free: 28.13 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.8895, allocations: 10.94 kB / 1.162 GB, free: 28.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.8895, allocations: 5.531 kB / 1.162 GB, free: 28.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003418/0.8898, allocations: 394 kB / 1.162 GB, free: 27.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8898, allocations: 0 / 1.162 GB, free: 27.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000248/0.8901, allocations: 41.28 kB / 1.162 GB, free: 27.95 MB / 1.076 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 5.888e-05/0.8901, allocations: 96.16 kB / 1.162 GB, free: 27.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.8903, allocations: 82.94 kB / 1.162 GB, free: 27.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8903, allocations: 4.062 kB / 1.162 GB, free: 27.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.746e-05/0.8903, allocations: 50.16 kB / 1.162 GB, free: 27.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.8907, allocations: 62.83 kB / 1.163 GB, free: 27.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007763/0.8915, allocations: 0.6053 MB / 1.163 GB, free: 27.46 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.8916, allocations: 212.8 kB / 1.163 GB, free: 27.37 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.8917, allocations: 51.81 kB / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.8918, allocations: 19.62 kB / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.8918, allocations: 6.531 kB / 1.163 GB, free: 27.35 MB / 1.076 GB Notification: Performance of Templates: time 0.006604/0.8984, allocations: 3.846 MB / 1.167 GB, free: 26.93 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.866015527048148]