Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001667/0.001667, allocations: 110.2 kB / 19.69 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.002335/0.002335, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002029/0.002029, allocations: 70.36 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2808, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002889/0.2837, allocations: 1.611 MB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.2853, allocations: 0.9518 MB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.2854, allocations: 4 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.2856, allocations: 75.52 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004669/0.2861, allocations: 147.3 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.107e-05/0.2861, allocations: 15.92 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.2866, allocations: 366.3 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.789e-05/0.2867, allocations: 16.92 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.2869, allocations: 155.3 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.2872, allocations: 131.4 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.2872, allocations: 16 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.086e-05/0.2872, allocations: 19.94 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.2873, allocations: 47.77 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.2875, allocations: 131.2 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.2878, allocations: 282.8 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.2878, allocations: 4 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2878, allocations: 3.938 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.2878, allocations: 0 / 1.288 GB, free: 7.281 MB / 0.9825 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.001187/0.289, allocations: 0.5704 MB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2891, allocations: 8.031 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.2891, allocations: 32.75 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.2897, allocations: 336.7 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2897, allocations: 4.375 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.2897, allocations: 4.375 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.2899, allocations: 97.38 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2899, allocations: 3.938 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2899, allocations: 0 / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2899, allocations: 4 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.29, allocations: 71.88 kB / 1.29 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.2905, allocations: 319.2 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.2906, allocations: 106.4 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.2907, allocations: 63.47 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.2907, allocations: 7.984 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.2908, allocations: 38.44 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2908, allocations: 0 / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003519/0.2911, allocations: 185.3 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/0.2912, allocations: 144.4 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006537/0.2918, allocations: 0.5132 MB / 1.291 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2919, allocations: 25.7 kB / 1.291 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.292, allocations: 164.1 kB / 1.291 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.292, allocations: 7.906 kB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.2921, allocations: 30.2 kB / 1.291 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2923, allocations: 338.8 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.2923, allocations: 35.95 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.2924, allocations: 59.39 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.2925, allocations: 111.2 kB / 1.292 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2925, allocations: 0 / 1.292 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002333/0.2928, allocations: 145.4 kB / 1.292 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2928, allocations: 7.938 kB / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2928, allocations: 0 / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2928, allocations: 4 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.2929, allocations: 15.92 kB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2929, allocations: 128 / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.2931, allocations: 15.92 kB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.2931, allocations: 7.984 kB / 1.292 GB, free: 3.57 MB / 0.9825 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.000172/0.2933, allocations: 169.8 kB / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.2933, allocations: 39.7 kB / 1.292 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.2937, allocations: 187.6 kB / 1.292 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2937, allocations: 8.125 kB / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2937, allocations: 0 / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2937, allocations: 0 / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.294, allocations: 284.5 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.294, allocations: 0 / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.2941, allocations: 12 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.2941, allocations: 3.938 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2941, allocations: 7.984 kB / 1.292 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.2941, allocations: 7.938 kB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2941, allocations: 0 / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.2944, allocations: 195.4 kB / 1.293 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.2945, allocations: 67.62 kB / 1.293 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.2946, allocations: 7.984 kB / 1.293 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2947, allocations: 11.98 kB / 1.293 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.2948, allocations: 11.88 kB / 1.293 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.2948, allocations: 4 kB / 1.293 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004918/0.2952, allocations: 399 kB / 1.293 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.2952, allocations: 0 / 1.293 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002536/0.2955, allocations: 36 kB / 1.293 GB, free: 2.062 MB / 0.9825 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.0001036/0.2956, allocations: 103.2 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.2958, allocations: 87.86 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2958, allocations: 256 / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.2959, allocations: 47.91 kB / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.2962, allocations: 70.45 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2973, allocations: 0.6102 MB / 1.294 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.2977, allocations: 0.8026 MB / 1.295 GB, free: 280 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.2978, allocations: 31.42 kB / 1.295 GB, free: 248 kB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.2978, allocations: 0 / 1.295 GB, free: 248 kB / 0.9825 GB Notification: Performance of Templates: time 0.006342/0.3042, allocations: 3.734 MB / 1.299 GB, free: 12.53 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.204696636996232]