Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001694/0.001694, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002134/0.002134, allocations: 212.9 kB / 23.04 MB, free: 4.844 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.466/1.466, 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.138/3.138, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.UndisturbedSoilTemperature,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.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_12_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.002013/0.002013, allocations: 67.06 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.39, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003042/0.3931, allocations: 1.566 MB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.3946, allocations: 0.8607 MB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.3947, allocations: 4 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.3949, allocations: 59.67 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.3954, allocations: 143.3 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.475e-05/0.3955, allocations: 8 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.3959, allocations: 380.2 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.584e-05/0.396, allocations: 16.92 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.3963, allocations: 151.4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.3965, allocations: 147.3 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.3965, allocations: 12 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.153e-05/0.3966, allocations: 16 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.3967, allocations: 55.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.3968, allocations: 99.47 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.3972, allocations: 290.7 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.3972, allocations: 8 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3972, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3972, allocations: 0 / 1.331 GB, free: 13.16 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.001171/0.3983, allocations: 0.5626 MB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3984, allocations: 8.031 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.3985, allocations: 36.75 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005629/0.399, allocations: 336.7 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.399, allocations: 4.375 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.399, allocations: 384 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3992, allocations: 97.39 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3992, allocations: 3.938 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3992, allocations: 7.984 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.3993, allocations: 3.984 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.3994, allocations: 71.88 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.3997, allocations: 271.9 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.3999, allocations: 114.3 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.77e-05/0.4, allocations: 59.45 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.4, allocations: 3.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.4, allocations: 38.56 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003588/0.4004, allocations: 193.2 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/0.4005, allocations: 132.5 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006589/0.4011, allocations: 0.5132 MB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.4011, allocations: 29.7 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.4013, allocations: 164 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.4013, allocations: 19.88 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.4014, allocations: 21.72 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4015, allocations: 342.8 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.818e-05/0.4016, allocations: 32.47 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.4017, allocations: 63.39 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.4018, allocations: 103.3 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4018, allocations: 0 / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002171/0.402, allocations: 145.4 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4021, allocations: 4 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4021, allocations: 7.938 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4021, allocations: 4.125 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4022, allocations: 11.98 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.4022, allocations: 3.938 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.4023, allocations: 11.98 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4023, allocations: 0 / 1.334 GB, free: 9.523 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.0001855/0.4025, allocations: 182.2 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.4026, allocations: 35.77 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.4029, allocations: 187.7 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4029, allocations: 4.031 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.403, allocations: 7.984 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.403, allocations: 3.938 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.4032, allocations: 217.2 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4032, allocations: 3.984 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.184e-05/0.4033, allocations: 12 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.4033, allocations: 4 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4033, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.4033, allocations: 3.938 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.4033, allocations: 4 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.4036, allocations: 195.3 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.4038, allocations: 75.66 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.4038, allocations: 0 / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.4039, allocations: 15.92 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.404, allocations: 3.984 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.404, allocations: 12.09 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004883/0.4045, allocations: 399 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4045, allocations: 0 / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002465/0.4047, allocations: 36 kB / 1.335 GB, free: 8.074 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.0001332/0.4049, allocations: 115.2 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.4051, allocations: 83.86 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4051, allocations: 0 / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.4051, allocations: 43.91 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.4055, allocations: 63.88 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.4066, allocations: 0.6099 MB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.4068, allocations: 207.4 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.4069, allocations: 23.42 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4069, allocations: 0 / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of Templates: time 0.006551/0.4134, allocations: 3.85 MB / 1.34 GB, free: 3.039 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.696391337085515]