Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001752/0.001752, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002505/0.002505, allocations: 219 kB / 22.26 MB, free: 5.125 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.33/3.33, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_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.003263/0.003263, allocations: 78.52 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4062, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002994/0.4092, allocations: 1.294 MB / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003318/0.4125, allocations: 1.579 MB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.4126, allocations: 0 / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.4126, allocations: 4 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.4128, allocations: 11.92 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009225/0.4138, allocations: 226.4 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.4139, allocations: 27.91 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/0.4139, allocations: 0 / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.4141, allocations: 23.86 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.4142, allocations: 13.86 kB / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.4142, allocations: 4 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.4146, allocations: 167.8 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.4146, allocations: 8 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.4147, allocations: 7.938 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.415, allocations: 147.9 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.415, allocations: 4 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.264e-06/0.415, allocations: 0 / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.415, allocations: 4 kB / 1.356 GB, free: 4.953 MB / 1.045 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.0004645/0.4155, allocations: 301.8 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4155, allocations: 12.03 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.051e-05/0.4156, allocations: 106 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.529e-05/0.4157, allocations: 76.22 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.4159, allocations: 189.8 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.682e-05/0.4159, allocations: 154.9 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.482e-05/0.416, allocations: 162.5 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.674e-05/0.4161, allocations: 101 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.4161, allocations: 75.28 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/0.4162, allocations: 150.6 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.169e-05/0.4163, allocations: 158.6 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.024e-05/0.4164, allocations: 150.6 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.4167, allocations: 429 kB / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.4168, allocations: 173.1 kB / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.4169, allocations: 88.12 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/0.417, allocations: 75.28 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.351e-05/0.417, allocations: 113.8 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.417, allocations: 0 / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001109/0.4171, allocations: 33.59 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/0.4172, allocations: 130.6 kB / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.4174, allocations: 109.8 kB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.4174, allocations: 25.7 kB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.4175, allocations: 88.14 kB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.4175, allocations: 0 / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.4175, allocations: 17.72 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4176, allocations: 314.8 kB / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.4177, allocations: 4 kB / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-05/0.4177, allocations: 26.58 kB / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.906e-05/0.4178, allocations: 30.55 kB / 1.359 GB, free: 1.512 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4178, allocations: 0 / 1.359 GB, free: 1.512 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001776/0.418, allocations: 49.58 kB / 1.359 GB, free: 1.457 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.418, allocations: 8 kB / 1.359 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.418, allocations: 0 / 1.359 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.418, allocations: 8.031 kB / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.4181, allocations: 7.984 kB / 1.36 GB, free: 1.434 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4181, allocations: 4 kB / 1.36 GB, free: 1.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.4183, allocations: 4 kB / 1.36 GB, free: 1.426 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.4183, allocations: 3.984 kB / 1.36 GB, free: 1.422 MB / 1.045 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.0001328/0.4184, allocations: 204.9 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.4185, allocations: 105.2 kB / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.225e-05/0.4186, allocations: 112.1 kB / 1.36 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-05/0.4186, allocations: 180.2 kB / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-05/0.4187, allocations: 188.2 kB / 1.36 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.661e-05/0.4188, allocations: 180.2 kB / 1.36 GB, free: 436 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.4191, allocations: 372.2 kB / 1.361 GB, free: 12 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.465e-05/0.4191, allocations: 113 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.4192, allocations: 108.9 kB / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.751e-05/0.4193, allocations: 176.3 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.317e-05/0.4193, allocations: 180.2 kB / 1.361 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.68e-05/0.4194, allocations: 176.3 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-05/0.4195, allocations: 180.3 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.4197, allocations: 311.7 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.4197, allocations: 108.9 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.004e-05/0.4198, allocations: 184.2 kB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.076e-05/0.4199, allocations: 101 kB / 1.362 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.42, allocations: 192.2 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.42, allocations: 101 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.4201, allocations: 79.28 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4201, allocations: 0 / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003638/0.4205, allocations: 55.8 kB / 1.363 GB, free: 13.89 MB / 1.061 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.00111/0.4216, allocations: 0.9788 MB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.4217, allocations: 12 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4217, allocations: 0 / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.338e-06/0.4217, allocations: 3.938 kB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.4221, allocations: 459.9 kB / 1.364 GB, free: 12.45 MB / 1.061 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.4235, allocations: 1.349 MB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.4239, allocations: 0.6768 MB / 1.366 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.338e-05/0.4239, allocations: 0 / 1.366 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.4239, allocations: 19.44 kB / 1.366 GB, free: 10.29 MB / 1.061 GB Notification: Performance of SimCode: time 1.122e-06/0.4239, allocations: 0 / 1.366 GB, free: 10.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.133/1.556, allocations: 2.72 MB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.72, allocations: 3.984 kB / 1.369 GB, free: 7.711 MB / 1.061 GB " [Timeout remaining time 266] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 50.172447306104004]