Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.001875/0.001875, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.002501/0.002501, allocations: 209.8 kB / 22.24 MB, free: 4.875 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.687/1.687, allocations: 230.6 MB / 256 MB, free: 7.777 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 3.186/3.186, allocations: 476 MB / 0.7699 GB, free: 4.887 MB / 0.6231 GB " [Timeout remaining time 176] 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.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",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.002108/0.002108, allocations: 67.05 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3501, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002448/0.3525, allocations: 1.289 MB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002546/0.3551, allocations: 1.525 MB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.3551, allocations: 0 / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.3551, allocations: 0 / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.3554, allocations: 27.84 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006273/0.356, allocations: 211.2 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.51e-05/0.3561, allocations: 23.92 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.3561, allocations: 0 / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3562, allocations: 23.92 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.3563, allocations: 11.92 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.3563, allocations: 0 / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.3566, allocations: 159.8 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.3566, allocations: 3.984 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.3566, allocations: 12 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.3569, allocations: 137 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3569, allocations: 0 / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3569, allocations: 0 / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.3569, allocations: 0 / 1.286 GB, free: 9.031 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003772/0.3573, allocations: 290 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3573, allocations: 12.03 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.344e-05/0.3574, allocations: 106 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/0.3575, allocations: 80.17 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.3576, allocations: 197.8 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.141e-05/0.3577, allocations: 150.9 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-05/0.3578, allocations: 158.5 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.267e-05/0.3579, allocations: 101 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.3579, allocations: 75.28 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.358, allocations: 154.6 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.817e-05/0.3581, allocations: 154.5 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.3581, allocations: 158.5 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.3585, allocations: 429 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.3586, allocations: 169.1 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.3586, allocations: 84.14 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.3587, allocations: 75.28 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/0.3587, allocations: 113.8 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3587, allocations: 0 / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.235e-05/0.3588, allocations: 29.64 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.3589, allocations: 130.7 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.359, allocations: 105.8 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.3591, allocations: 29.7 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.3591, allocations: 80.14 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.3591, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.3592, allocations: 25.7 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3593, allocations: 314.8 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.3593, allocations: 4 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.3594, allocations: 107.6 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.895e-05/0.3595, allocations: 30.52 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3595, allocations: 0 / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001403/0.3596, allocations: 57.52 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3596, allocations: 4.094 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.3597, allocations: 8 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3597, allocations: 0 / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.3597, allocations: 4.25 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3597, allocations: 0 / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.3599, allocations: 11.98 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.3599, allocations: 4 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001214/0.36, allocations: 193 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/0.3601, allocations: 113 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.3602, allocations: 108.1 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.448e-05/0.3603, allocations: 184.2 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.715e-05/0.3604, allocations: 180.3 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.421e-05/0.3604, allocations: 184.2 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.3607, allocations: 380.2 kB / 1.29 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.453e-05/0.3608, allocations: 101 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.3608, allocations: 104.9 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.68e-05/0.3609, allocations: 180.2 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.559e-05/0.361, allocations: 188.2 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.463e-05/0.3611, allocations: 176.3 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.039e-05/0.3612, allocations: 176.3 kB / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.3614, allocations: 315.7 kB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.3614, allocations: 116.8 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.3615, allocations: 180.3 kB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.963e-05/0.3616, allocations: 101 kB / 1.292 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3617, allocations: 180.2 kB / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.615e-05/0.3618, allocations: 113 kB / 1.292 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.194e-05/0.3619, allocations: 83.28 kB / 1.292 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3619, allocations: 0 / 1.292 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003391/0.3622, allocations: 55.73 kB / 1.292 GB, free: 1.875 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.001072/0.3633, allocations: 0.9801 MB / 1.293 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.3633, allocations: 11.98 kB / 1.293 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3633, allocations: 0 / 1.293 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.3634, allocations: 3.938 kB / 1.293 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.3638, allocations: 461.7 kB / 1.294 GB, free: 452 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.365, allocations: 1.349 MB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.906e-05/0.365, allocations: 51.36 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.3651, allocations: 12.22 kB / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.3651, allocations: 19.42 kB / 1.295 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.3651, allocations: 0 / 1.295 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.3997, allocations: 3.13 MB / 1.298 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.87, allocations: 14.05 kB / 1.298 GB, free: 11.91 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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: 19.299287935718894]