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.001458/0.001458, 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.001609/0.001609, allocations: 210.5 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.647/1.647, allocations: 230.6 MB / 256 MB, free: 7.785 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.75/2.75, allocations: 475.9 MB / 0.7699 GB, free: 4.773 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.002096/0.002096, allocations: 69.42 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2903, allocations: 169.9 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003059/0.2934, allocations: 1.577 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.295, allocations: 0.8546 MB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.2951, allocations: 0 / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.2953, allocations: 63.67 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.2958, allocations: 147.3 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.257e-05/0.2959, allocations: 3.984 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.2963, allocations: 378.2 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/0.2964, allocations: 12.94 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.2967, allocations: 147.4 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.2969, allocations: 151.3 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.2969, allocations: 16 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.014e-05/0.297, allocations: 16 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.2971, allocations: 51.7 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.2972, allocations: 99.47 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.2975, allocations: 298.6 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2975, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2975, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2975, allocations: 0 / 1.287 GB, free: 8.129 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.001128/0.2987, allocations: 0.5647 MB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2987, allocations: 8.031 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.159e-05/0.2988, allocations: 36.7 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.2993, allocations: 332.7 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2994, allocations: 4.375 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.2994, allocations: 8.359 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.2995, allocations: 101.4 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2996, allocations: 4 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2996, allocations: 0 / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2996, allocations: 0 / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.2997, allocations: 75.8 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.3001, allocations: 271.8 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.3002, allocations: 110.3 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.849e-05/0.3003, allocations: 59.47 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.3003, allocations: 4 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.3003, allocations: 42.55 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3003, allocations: 4 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003548/0.3007, allocations: 189.2 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.3008, allocations: 132.5 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006923/0.3015, allocations: 0.5132 MB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3015, allocations: 29.7 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3017, allocations: 160.1 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.3017, allocations: 15.91 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.3017, allocations: 18.2 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3019, allocations: 346.8 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.302, allocations: 35.95 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.302, allocations: 55.41 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.3022, allocations: 103.3 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3022, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000221/0.3024, allocations: 145.5 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3024, allocations: 8.031 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3024, allocations: 3.938 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3024, allocations: 4 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3026, allocations: 15.92 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3026, allocations: 0 / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.3027, allocations: 11.98 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.3027, allocations: 7.984 kB / 1.29 GB, free: 4.484 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.0001656/0.3029, allocations: 173.7 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.3029, allocations: 39.7 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.3033, allocations: 195.6 kB / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3033, allocations: 4 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3033, allocations: 0 / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3033, allocations: 96 / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.3035, allocations: 229.2 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3035, allocations: 3.984 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/0.3036, allocations: 19.92 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3036, allocations: 0 / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3037, allocations: 8 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3037, allocations: 8.062 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3037, allocations: 0 / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.3039, allocations: 199.3 kB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.3041, allocations: 63.67 kB / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.3041, allocations: 8 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3043, allocations: 11.92 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.3043, allocations: 7.984 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3043, allocations: 4 kB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000486/0.3048, allocations: 395 kB / 1.291 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3048, allocations: 0 / 1.291 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002572/0.3051, allocations: 40 kB / 1.291 GB, free: 3.035 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.0001021/0.3052, allocations: 103.2 kB / 1.291 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.3053, allocations: 87.86 kB / 1.291 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3053, allocations: 0 / 1.291 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.705e-05/0.3054, allocations: 51.89 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.3058, allocations: 62.06 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/0.3068, allocations: 0.5848 MB / 1.292 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.307, allocations: 215.4 kB / 1.292 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000131/0.3071, allocations: 54.25 kB / 1.292 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.826e-05/0.3072, allocations: 19.44 kB / 1.292 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3072, allocations: 4 kB / 1.292 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of Templates: time 0.008682/0.3159, allocations: 4.189 MB / 1.297 GB, free: 13.7 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/jenkins/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: 8.723041808232665]