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.001812/0.001812, allocations: 108.3 kB / 19.7 MB, free: 2.16 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.002246/0.002246, allocations: 217.3 kB / 22.99 MB, free: 4.988 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.119/3.119, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.002047/0.002047, allocations: 71.28 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3053, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002974/0.3082, allocations: 1.57 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3098, allocations: 0.8606 MB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.3099, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.3101, allocations: 59.67 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00047/0.3106, allocations: 143.3 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.464e-05/0.3106, allocations: 7.969 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000432/0.3111, allocations: 377 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.3111, allocations: 16.94 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.3114, allocations: 155.3 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.3116, allocations: 139.3 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.3116, allocations: 16 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.3117, allocations: 12 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.3117, allocations: 55.7 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3119, allocations: 99.45 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.3122, allocations: 294.7 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3122, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3122, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3122, allocations: 0 / 1.331 GB, free: 13.24 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.001184/0.3134, allocations: 0.5627 MB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3134, allocations: 16.02 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.3135, allocations: 28.75 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.314, allocations: 336.7 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3141, allocations: 4.359 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.3141, allocations: 12.38 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3142, allocations: 93.39 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3142, allocations: 3.938 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3143, allocations: 3.984 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3143, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.3144, allocations: 71.86 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.3147, allocations: 263.9 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.3149, allocations: 118.3 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.64e-05/0.315, allocations: 59.45 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.315, allocations: 4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.315, allocations: 38.56 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.315, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003599/0.3154, allocations: 189.2 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/0.3155, allocations: 136.5 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/0.3161, allocations: 0.5171 MB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3161, allocations: 29.64 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.3163, allocations: 160.1 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.3163, allocations: 12.41 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.3164, allocations: 25.7 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3165, allocations: 342.8 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.3166, allocations: 31.95 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.3166, allocations: 63.39 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3168, allocations: 103.3 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3168, allocations: 0 / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002429/0.317, allocations: 145.4 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3171, allocations: 10.19 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3171, allocations: 3.938 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3171, allocations: 3.984 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3172, allocations: 15.94 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3172, allocations: 7.984 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.3174, allocations: 7.984 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.3174, allocations: 4 kB / 1.334 GB, free: 9.594 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.000173/0.3176, allocations: 178.2 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.3176, allocations: 35.89 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.318, allocations: 191.6 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.318, allocations: 0 / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.318, allocations: 4 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.318, allocations: 3.938 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.3182, allocations: 225.2 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3182, allocations: 0 / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.3183, allocations: 15.98 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3183, allocations: 4 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3183, allocations: 4.125 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3184, allocations: 7.938 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3184, allocations: 0 / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.3186, allocations: 191.3 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.3188, allocations: 71.67 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.3188, allocations: 0 / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.319, allocations: 15.92 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.319, allocations: 12.06 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.319, allocations: 0 / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004781/0.3195, allocations: 395 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3195, allocations: 4 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002671/0.3198, allocations: 40 kB / 1.335 GB, free: 8.152 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.0001114/0.3199, allocations: 107.2 kB / 1.335 GB, free: 8.039 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.3201, allocations: 83.86 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3201, allocations: 0 / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.452e-05/0.3202, allocations: 47.84 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3205, allocations: 70.12 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.3216, allocations: 0.5942 MB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.3218, allocations: 207.4 kB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.322, allocations: 54.27 kB / 1.336 GB, free: 6.934 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.24e-05/0.322, allocations: 23.42 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.322, allocations: 0 / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of Templates: time 0.008499/0.3305, allocations: 4.205 MB / 1.341 GB, free: 2.789 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 -s gbode -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: 8.554030970000895]