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.001328/0.001328, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001428/0.001428, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.575/1.575, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.849/2.849, allocations: 476.7 MB / 0.7678 GB, free: 9.391 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.002396/0.002396, allocations: 66.09 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9406/0.943, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002531/0.9456, allocations: 1.278 MB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.9479, allocations: 1.496 MB / 1.282 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.9479, allocations: 0 / 1.282 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.9479, allocations: 5.438 kB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.9481, allocations: 13 kB / 1.282 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007013/0.9488, allocations: 218.3 kB / 1.282 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.333e-05/0.9489, allocations: 23.33 kB / 1.282 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.949, allocations: 2.578 kB / 1.282 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.9491, allocations: 33.69 kB / 1.282 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/0.9492, allocations: 7.953 kB / 1.282 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.9492, allocations: 0.5938 kB / 1.282 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.9496, allocations: 168.5 kB / 1.282 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.9496, allocations: 7.047 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.9496, allocations: 13.31 kB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.95, allocations: 148.3 kB / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.95, allocations: 0.5625 kB / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.95, allocations: 1.562 kB / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.95, allocations: 0 / 1.282 GB, free: 9.559 MB / 0.9981 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.0004366/0.9504, allocations: 377.4 kB / 1.283 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.9504, allocations: 10.95 kB / 1.283 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.939e-05/0.9505, allocations: 75.47 kB / 1.283 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.808e-05/0.9505, allocations: 110 kB / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.9506, allocations: 79.67 kB / 1.283 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.9508, allocations: 242.4 kB / 1.283 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.9509, allocations: 159.9 kB / 1.283 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.508e-05/0.951, allocations: 156.8 kB / 1.283 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.883e-05/0.951, allocations: 103.1 kB / 1.284 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.9511, allocations: 75.28 kB / 1.284 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/0.9512, allocations: 150.6 kB / 1.284 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.263e-05/0.9512, allocations: 156.3 kB / 1.284 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.578e-05/0.9513, allocations: 155.7 kB / 1.284 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.9516, allocations: 454.8 kB / 1.284 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.9518, allocations: 175 kB / 1.285 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.9518, allocations: 80.14 kB / 1.285 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.9518, allocations: 79.28 kB / 1.285 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/0.9519, allocations: 111.6 kB / 1.285 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9519, allocations: 0 / 1.285 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.147e-05/0.952, allocations: 28.88 kB / 1.285 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.952, allocations: 131.7 kB / 1.285 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.9521, allocations: 104.1 kB / 1.285 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.9522, allocations: 25.7 kB / 1.285 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.9522, allocations: 91.41 kB / 1.285 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.9522, allocations: 0 / 1.285 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.9522, allocations: 21.75 kB / 1.285 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9524, allocations: 316.7 kB / 1.286 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.9524, allocations: 2.156 kB / 1.286 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.319e-05/0.9525, allocations: 23.75 kB / 1.286 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.572e-05/0.9525, allocations: 32.11 kB / 1.286 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.9525, allocations: 4.969 kB / 1.286 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00013/0.9526, allocations: 50.39 kB / 1.286 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.9526, allocations: 4.875 kB / 1.286 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.9526, allocations: 1 kB / 1.286 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.9527, allocations: 2.125 kB / 1.286 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.9527, allocations: 13.3 kB / 1.286 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.9527, allocations: 1.5 kB / 1.286 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.9529, allocations: 14.3 kB / 1.286 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.9529, allocations: 3.609 kB / 1.286 GB, free: 5.898 MB / 0.9981 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.0001152/0.953, allocations: 189 kB / 1.286 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.9531, allocations: 115.6 kB / 1.286 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.9531, allocations: 106.3 kB / 1.286 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-05/0.9532, allocations: 184.9 kB / 1.286 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-05/0.9533, allocations: 182.1 kB / 1.286 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.546e-05/0.9534, allocations: 178.4 kB / 1.287 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.9536, allocations: 414.9 kB / 1.287 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.435e-05/0.9537, allocations: 102.6 kB / 1.287 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.9537, allocations: 111 kB / 1.287 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.949e-05/0.9538, allocations: 177 kB / 1.287 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-05/0.9539, allocations: 182.3 kB / 1.288 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.013e-05/0.954, allocations: 186.1 kB / 1.288 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.703e-05/0.954, allocations: 178 kB / 1.288 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.9542, allocations: 314.2 kB / 1.288 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.9543, allocations: 183.7 kB / 1.288 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.042e-05/0.9544, allocations: 183.3 kB / 1.289 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.477e-05/0.9545, allocations: 101.5 kB / 1.289 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.437e-05/0.9545, allocations: 182.1 kB / 1.289 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.9546, allocations: 107.1 kB / 1.289 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.9546, allocations: 84.5 kB / 1.289 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9546, allocations: 0 / 1.289 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003774/0.955, allocations: 54.31 kB / 1.289 GB, free: 2.316 MB / 0.9981 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.00104/0.9561, allocations: 0.9832 MB / 1.29 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.9562, allocations: 7.906 kB / 1.29 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9562, allocations: 0 / 1.29 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.9562, allocations: 1.406 kB / 1.29 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.9566, allocations: 461.5 kB / 1.291 GB, free: 0.9883 MB / 0.9981 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.001367/0.9579, allocations: 1.353 MB / 1.292 GB, free: 15.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.9582, allocations: 0.674 MB / 1.292 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.495e-05/0.9583, allocations: 1.156 kB / 1.292 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.9583, allocations: 11.53 kB / 1.292 GB, free: 14.93 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.9583, allocations: 4 kB / 1.292 GB, free: 14.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9388/1.897, allocations: 2.695 MB / 1.295 GB, free: 14.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.503/10.4, allocations: 3.062 kB / 1.295 GB, free: 14.4 MB / 1.014 GB " [Timeout remaining time 276] (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: 34.764653324964456]