Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001979/0.001979, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002515/0.002515, allocations: 214.6 kB / 22.24 MB, free: 5.262 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.781 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.359/3.359, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.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_latest_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_latest_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.002107/0.002107, allocations: 71.86 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3982, allocations: 181.9 MB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.00281/0.401, allocations: 1.578 MB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.4026, allocations: 0.8578 MB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.4026, allocations: 4 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.4029, allocations: 51.69 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004527/0.4033, allocations: 143.3 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.572e-05/0.4033, allocations: 11.92 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004625/0.4038, allocations: 384.8 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.562e-05/0.4039, allocations: 12.94 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.4042, allocations: 147.4 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.4044, allocations: 147.3 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.4044, allocations: 16 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.04e-05/0.4045, allocations: 19.94 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.44e-05/0.4046, allocations: 47.77 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.4047, allocations: 107.4 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.405, allocations: 290.7 kB / 1.368 GB, free: 9.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.405, allocations: 0 / 1.368 GB, free: 9.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.864e-06/0.405, allocations: 0 / 1.368 GB, free: 9.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.4051, allocations: 0 / 1.368 GB, free: 9.91 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001114/0.4062, allocations: 0.5666 MB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.4062, allocations: 8.031 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.4063, allocations: 40.7 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.4068, allocations: 332.7 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.4068, allocations: 8.312 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.4068, allocations: 8.312 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.407, allocations: 105.3 kB / 1.369 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.407, allocations: 3.984 kB / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.407, allocations: 0 / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.407, allocations: 4 kB / 1.369 GB, free: 8.777 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.4071, allocations: 71.86 kB / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.4075, allocations: 275.8 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.4076, allocations: 102.4 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.4077, allocations: 59.45 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.4077, allocations: 4 kB / 1.369 GB, free: 8.188 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.4077, allocations: 42.5 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4077, allocations: 0 / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003412/0.4081, allocations: 185.7 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/0.4082, allocations: 136.4 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.4088, allocations: 0.5132 MB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.4088, allocations: 25.7 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.409, allocations: 160.1 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.409, allocations: 15.91 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.409, allocations: 21.66 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4092, allocations: 350.8 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.883e-05/0.4093, allocations: 27.97 kB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.4093, allocations: 63.39 kB / 1.371 GB, free: 6.574 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.4095, allocations: 103.4 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4095, allocations: 0 / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002216/0.4097, allocations: 145.4 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4097, allocations: 7.938 kB / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.4097, allocations: 7.938 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4098, allocations: 0 / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.4099, allocations: 20.11 kB / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4099, allocations: 0 / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.41, allocations: 11.98 kB / 1.371 GB, free: 6.266 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.41, allocations: 0 / 1.371 GB, free: 6.266 MB / 1.061 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.0001711/0.4102, allocations: 182.8 kB / 1.371 GB, free: 6.078 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.4102, allocations: 27.81 kB / 1.371 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.4106, allocations: 191.6 kB / 1.371 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4106, allocations: 3.938 kB / 1.371 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4106, allocations: 4.125 kB / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.4106, allocations: 7.984 kB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.4108, allocations: 221.2 kB / 1.371 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4108, allocations: 0 / 1.371 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.4109, allocations: 15.98 kB / 1.371 GB, free: 5.578 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4109, allocations: 3.938 kB / 1.371 GB, free: 5.574 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4109, allocations: 4 kB / 1.371 GB, free: 5.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.4109, allocations: 11.86 kB / 1.371 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.4109, allocations: 4 kB / 1.371 GB, free: 5.555 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.4112, allocations: 195.4 kB / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.4114, allocations: 63.72 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.4114, allocations: 11.95 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.4116, allocations: 12.02 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.4116, allocations: 15.91 kB / 1.372 GB, free: 5.234 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.4116, allocations: 4 kB / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000469/0.4121, allocations: 399 kB / 1.372 GB, free: 4.844 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4121, allocations: 0 / 1.372 GB, free: 4.844 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002466/0.4123, allocations: 36 kB / 1.372 GB, free: 4.809 MB / 1.061 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.0001024/0.4124, allocations: 99.25 kB / 1.372 GB, free: 4.703 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.4126, allocations: 87.86 kB / 1.372 GB, free: 4.617 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4126, allocations: 0 / 1.372 GB, free: 4.617 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.969e-05/0.4127, allocations: 43.91 kB / 1.372 GB, free: 4.574 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.413, allocations: 66.06 kB / 1.372 GB, free: 4.508 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/0.414, allocations: 0.5887 MB / 1.373 GB, free: 3.883 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.4142, allocations: 207.4 kB / 1.373 GB, free: 3.664 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.4143, allocations: 54.25 kB / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.4144, allocations: 23.44 kB / 1.373 GB, free: 3.582 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4144, allocations: 0 / 1.373 GB, free: 3.582 MB / 1.061 GB Notification: Performance of Templates: time 0.008585/0.423, allocations: 4.175 MB / 1.377 GB, free: 15.5 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.284061832353473]