Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001677/0.001677, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001626/0.001626, allocations: 217.3 kB / 23.03 MB, free: 4.922 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.642/2.642, allocations: 476.8 MB / 0.7715 GB, free: 3.879 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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="cs",version="2.0",platforms={"static"}) [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.001988/0.001988, allocations: 67.89 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2928, allocations: 170 MB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003126/0.2959, allocations: 1.574 MB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.2975, allocations: 0.8546 MB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.2976, allocations: 3.938 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.2978, allocations: 59.67 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.2984, allocations: 151.2 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.291e-05/0.2984, allocations: 7.984 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004686/0.2989, allocations: 362.4 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.421e-05/0.299, allocations: 16.92 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.2993, allocations: 159.3 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.2995, allocations: 135.3 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.2996, allocations: 16 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.738e-05/0.2996, allocations: 16 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.2997, allocations: 47.77 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.2999, allocations: 107.3 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.3002, allocations: 294.2 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3002, allocations: 0 / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3002, allocations: 0 / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.3002, allocations: 0 / 1.288 GB, free: 6.988 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.001223/0.3015, allocations: 0.5666 MB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3015, allocations: 8.031 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.661e-05/0.3015, allocations: 4.188 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.3016, allocations: 30.75 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.78e-05/0.3016, allocations: 32.7 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/0.3022, allocations: 340.7 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3022, allocations: 384 / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.3022, allocations: 12.36 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.3024, allocations: 104.9 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.3024, allocations: 0 / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3024, allocations: 0 / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3024, allocations: 4 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.3025, allocations: 71.86 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.3029, allocations: 287.3 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3031, allocations: 114.4 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.3032, allocations: 63.39 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3032, allocations: 11.88 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3032, allocations: 34.56 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3032, allocations: 0 / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000378/0.3036, allocations: 185.2 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.3037, allocations: 132.5 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006398/0.3043, allocations: 0.5176 MB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3043, allocations: 29.7 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3045, allocations: 160.1 kB / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.3045, allocations: 15.91 kB / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.3046, allocations: 21.7 kB / 1.29 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3047, allocations: 338.8 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.656e-05/0.3048, allocations: 43.89 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.3049, allocations: 55.41 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.305, allocations: 99.3 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.305, allocations: 4 kB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002371/0.3052, allocations: 153.3 kB / 1.291 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3053, allocations: 4 kB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3053, allocations: 0 / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3053, allocations: 7.984 kB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3054, allocations: 8 kB / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3054, allocations: 0 / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.3056, allocations: 15.97 kB / 1.291 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.3056, allocations: 4.125 kB / 1.291 GB, free: 3.262 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.0001696/0.3057, allocations: 185.6 kB / 1.291 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.3058, allocations: 39.7 kB / 1.291 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.3062, allocations: 179.7 kB / 1.291 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3062, allocations: 4 kB / 1.291 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3062, allocations: 0 / 1.291 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3062, allocations: 96 / 1.291 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.3065, allocations: 252.6 kB / 1.292 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3065, allocations: 12.05 kB / 1.292 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.639e-05/0.3066, allocations: 15.98 kB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3066, allocations: 0 / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3066, allocations: 8 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3066, allocations: 3.938 kB / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3066, allocations: 3.938 kB / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.3068, allocations: 195.3 kB / 1.292 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.307, allocations: 71.61 kB / 1.292 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.307, allocations: 4 kB / 1.292 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.3072, allocations: 7.984 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.3072, allocations: 15.98 kB / 1.292 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.3072, allocations: 4 kB / 1.292 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004751/0.3077, allocations: 395 kB / 1.292 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3077, allocations: 0 / 1.292 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002573/0.308, allocations: 40 kB / 1.292 GB, free: 1.773 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.0005374/0.3085, allocations: 0.7279 MB / 1.293 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001901/0.3087, allocations: 91.84 kB / 1.293 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3087, allocations: 0 / 1.293 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.3088, allocations: 48.16 kB / 1.293 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3091, allocations: 68.89 kB / 1.293 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.3131, allocations: 3.178 MB / 1.296 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.3133, allocations: 207.4 kB / 1.297 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.3135, allocations: 54.25 kB / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.3136, allocations: 83.41 kB / 1.297 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.3136, allocations: 0 / 1.297 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.3437, allocations: 7.161 MB / 1.304 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.73, allocations: 7.062 kB / 1.304 GB, free: 6.25 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.983672113041393]