Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.001871/0.001871, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002312/0.002312, allocations: 211.6 kB / 22.99 MB, free: 4.984 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.106/3.106, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.CorrectedConvection,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.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,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.CorrectedConvection") [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.002037/0.002037, allocations: 66.09 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2896, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002751/0.2924, allocations: 1.566 MB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.2938, allocations: 0.8646 MB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.2939, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.2941, allocations: 63.69 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.2946, allocations: 143.3 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.682e-05/0.2946, allocations: 11.92 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.295, allocations: 366.3 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.484e-05/0.2951, allocations: 12.94 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.2953, allocations: 167.3 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.2955, allocations: 131.4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.2956, allocations: 16 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.79e-05/0.2956, allocations: 16 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.383e-05/0.2957, allocations: 47.72 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.2958, allocations: 107.4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.2961, allocations: 294.7 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2961, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2961, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2961, allocations: 7.938 kB / 1.331 GB, free: 13.2 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.00117/0.2973, allocations: 0.5704 MB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.2974, allocations: 8.031 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.2974, allocations: 32.75 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.298, allocations: 336.7 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.298, allocations: 4.375 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.298, allocations: 384 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.2982, allocations: 109.3 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2982, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2982, allocations: 3.984 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.2982, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.2983, allocations: 67.86 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.2986, allocations: 271.9 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.2988, allocations: 102.4 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.13e-05/0.2989, allocations: 63.45 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.2989, allocations: 8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.2989, allocations: 38.5 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2989, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003438/0.2993, allocations: 185.2 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.2993, allocations: 136.5 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/0.3, allocations: 0.5132 MB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.3, allocations: 26.2 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.3001, allocations: 168.1 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.3002, allocations: 11.91 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.3002, allocations: 21.7 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3004, allocations: 342.8 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.3004, allocations: 35.95 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.163e-05/0.3005, allocations: 59.39 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.3007, allocations: 99.3 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3007, allocations: 4 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002456/0.3009, allocations: 145.4 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3009, allocations: 7.984 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3009, allocations: 15.81 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.301, allocations: 0 / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3011, allocations: 11.98 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3011, allocations: 0 / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.3012, allocations: 11.98 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3012, allocations: 0 / 1.334 GB, free: 9.562 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.0001713/0.3014, allocations: 186.4 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.3015, allocations: 31.77 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.3018, allocations: 191.6 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3018, allocations: 0 / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3018, allocations: 3.938 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3018, allocations: 4 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.3021, allocations: 225.2 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3021, allocations: 0 / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.485e-05/0.3022, allocations: 20.11 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3022, allocations: 0 / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3022, allocations: 4 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.3022, allocations: 11.88 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3022, allocations: 0 / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.3025, allocations: 195.4 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.3026, allocations: 63.67 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.3027, allocations: 4 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.3028, allocations: 11.92 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.3029, allocations: 16.02 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.3029, allocations: 11.98 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000475/0.3033, allocations: 395 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3033, allocations: 0 / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002547/0.3036, allocations: 40 kB / 1.335 GB, free: 8.105 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.0001022/0.3037, allocations: 95.25 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.3039, allocations: 87.84 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3039, allocations: 0 / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.372e-05/0.304, allocations: 48.28 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.3043, allocations: 65.75 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.3053, allocations: 0.5887 MB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.3055, allocations: 215.4 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001293/0.3057, allocations: 46.27 kB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.3057, allocations: 27.42 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3057, allocations: 4 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of Templates: time 0.008368/0.3141, allocations: 4.202 MB / 1.341 GB, free: 2.75 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.374849371000892]