Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.001453/0.001453, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001682/0.001682, allocations: 217.8 kB / 23.01 MB, free: 4.609 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.608/1.608, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.553/3.553, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.UndisturbedSoilTemperature,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.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,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.UndisturbedSoilTemperature") [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.002059/0.002059, allocations: 70.22 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.4619, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003066/0.465, allocations: 1.607 MB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.4667, allocations: 0.9546 MB / 1.357 GB, free: 5.395 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.332e-05/0.4668, allocations: 3.938 kB / 1.357 GB, free: 5.391 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.467, allocations: 63.64 kB / 1.357 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005044/0.4675, allocations: 147.3 kB / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.126e-05/0.4676, allocations: 15.98 kB / 1.357 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.4681, allocations: 378.2 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.474e-05/0.4681, allocations: 12.94 kB / 1.357 GB, free: 4.785 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.4684, allocations: 143.4 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.4686, allocations: 143.3 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.4687, allocations: 16 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.281e-05/0.4687, allocations: 19.94 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.634e-05/0.4688, allocations: 51.7 kB / 1.358 GB, free: 4.418 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.4689, allocations: 131.2 kB / 1.358 GB, free: 4.289 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.4693, allocations: 282.7 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4693, allocations: 7.922 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4693, allocations: 0 / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4693, allocations: 0 / 1.358 GB, free: 4.004 MB / 1.045 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.001251/0.4706, allocations: 0.5666 MB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.4706, allocations: 8.031 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.4707, allocations: 28.75 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/0.4713, allocations: 336.7 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4713, allocations: 8.375 kB / 1.359 GB, free: 3.012 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.4713, allocations: 8.312 kB / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.4715, allocations: 97.38 kB / 1.359 GB, free: 2.891 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4715, allocations: 0 / 1.359 GB, free: 2.891 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.4715, allocations: 0 / 1.359 GB, free: 2.891 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.4715, allocations: 4 kB / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.4716, allocations: 67.88 kB / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.4721, allocations: 323.2 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.4722, allocations: 110.3 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.4723, allocations: 67.45 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.4724, allocations: 11.97 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.4724, allocations: 34.5 kB / 1.36 GB, free: 2.176 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.4724, allocations: 0 / 1.36 GB, free: 2.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003826/0.4728, allocations: 185.7 kB / 1.36 GB, free: 1.988 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.4729, allocations: 140.5 kB / 1.36 GB, free: 1.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006373/0.4735, allocations: 0.5132 MB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.4735, allocations: 25.7 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.4737, allocations: 164.1 kB / 1.361 GB, free: 1.102 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.4737, allocations: 7.906 kB / 1.361 GB, free: 1.094 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.4738, allocations: 25.7 kB / 1.361 GB, free: 1.062 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4739, allocations: 342.8 kB / 1.361 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-05/0.474, allocations: 39.95 kB / 1.361 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.4741, allocations: 55.41 kB / 1.361 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.4742, allocations: 99.3 kB / 1.361 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4742, allocations: 7.938 kB / 1.361 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002143/0.4744, allocations: 153.4 kB / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4745, allocations: 9.344 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4745, allocations: 0 / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.4745, allocations: 4 kB / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.4746, allocations: 11.98 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4746, allocations: 3.984 kB / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.4747, allocations: 19.86 kB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.4747, allocations: 8.125 kB / 1.361 GB, free: 292 kB / 1.045 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.0001716/0.4749, allocations: 182.2 kB / 1.361 GB, free: 100 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.475, allocations: 39.73 kB / 1.361 GB, free: 60 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.4753, allocations: 183.6 kB / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4753, allocations: 4 kB / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4753, allocations: 0 / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4753, allocations: 4.125 kB / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.4756, allocations: 280.5 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4756, allocations: 0 / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.825e-05/0.4757, allocations: 15.98 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.4757, allocations: 3.938 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4758, allocations: 4 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4758, allocations: 0 / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4758, allocations: 0 / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.476, allocations: 199.3 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.4762, allocations: 67.62 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.4762, allocations: 7.984 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4764, allocations: 11.98 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.4764, allocations: 4 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.4764, allocations: 3.984 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004764/0.4769, allocations: 399 kB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4769, allocations: 0 / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00025/0.4771, allocations: 36 kB / 1.363 GB, free: 14.78 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.0001108/0.4772, allocations: 107.2 kB / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.4774, allocations: 79.86 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4774, allocations: 0 / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.989e-05/0.4775, allocations: 52.33 kB / 1.363 GB, free: 14.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.4779, allocations: 73.64 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.479, allocations: 0.6138 MB / 1.364 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.4795, allocations: 0.8065 MB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.4795, allocations: 23.44 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.4795, allocations: 0 / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of Templates: time 0.006357/0.4859, allocations: 3.727 MB / 1.368 GB, free: 9.25 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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: 12.952986571996007]