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.001894/0.001894, allocations: 106.5 kB / 16.45 MB, free: 6.488 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.002452/0.002452, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.513/1.513, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.847/2.847, allocations: 476.7 MB / 0.7672 GB, free: 5.234 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.001967/0.001967, allocations: 69.78 kB / 1.112 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8892/0.8912, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002765/0.894, allocations: 1.276 MB / 1.28 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00258/0.8966, allocations: 1.497 MB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.8966, allocations: 0 / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.8966, allocations: 3.938 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.8968, allocations: 15.92 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006545/0.8975, allocations: 221.1 kB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.8976, allocations: 23.92 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.8976, allocations: 7.938 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.8977, allocations: 23.97 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.8978, allocations: 15.92 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.8978, allocations: 0 / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.8981, allocations: 167.9 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.8981, allocations: 7.922 kB / 1.281 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.8982, allocations: 11.94 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.8984, allocations: 141.5 kB / 1.282 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8985, allocations: 0 / 1.282 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.185e-06/0.8985, allocations: 3.984 kB / 1.282 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.8985, allocations: 4 kB / 1.282 GB, free: 10.02 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.0004645/0.8989, allocations: 375 kB / 1.282 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.899, allocations: 8.031 kB / 1.282 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.735e-05/0.899, allocations: 106 kB / 1.282 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.8991, allocations: 84.17 kB / 1.282 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.8993, allocations: 235.7 kB / 1.282 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.002e-05/0.8994, allocations: 162.7 kB / 1.283 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.377e-05/0.8995, allocations: 154.6 kB / 1.283 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.666e-05/0.8996, allocations: 104.9 kB / 1.283 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.093e-05/0.8996, allocations: 75.28 kB / 1.283 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.8997, allocations: 150.6 kB / 1.283 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.198e-05/0.8998, allocations: 154.6 kB / 1.283 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.549e-05/0.8998, allocations: 158.5 kB / 1.283 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.9002, allocations: 453.9 kB / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.9003, allocations: 177 kB / 1.284 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.9003, allocations: 80.14 kB / 1.284 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.9004, allocations: 79.28 kB / 1.284 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.9004, allocations: 109.8 kB / 1.284 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.9004, allocations: 0 / 1.284 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.958e-05/0.9005, allocations: 25.7 kB / 1.284 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.9006, allocations: 126.7 kB / 1.284 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.9007, allocations: 105.8 kB / 1.284 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.9007, allocations: 37.58 kB / 1.284 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.9008, allocations: 88.14 kB / 1.285 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.9008, allocations: 0 / 1.285 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.9008, allocations: 21.7 kB / 1.285 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.901, allocations: 310.8 kB / 1.285 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.901, allocations: 4 kB / 1.285 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.896e-05/0.901, allocations: 26.56 kB / 1.285 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/0.9011, allocations: 30.77 kB / 1.285 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.9011, allocations: 7.875 kB / 1.285 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001377/0.9012, allocations: 57.58 kB / 1.285 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.9012, allocations: 9.875 kB / 1.285 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9013, allocations: 0 / 1.285 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.9013, allocations: 0 / 1.285 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.9013, allocations: 4 kB / 1.285 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.9013, allocations: 8.078 kB / 1.285 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.9015, allocations: 11.92 kB / 1.285 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.9015, allocations: 8 kB / 1.285 GB, free: 6.281 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.0001203/0.9016, allocations: 189.6 kB / 1.285 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.9017, allocations: 105 kB / 1.285 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.05e-05/0.9018, allocations: 112.1 kB / 1.285 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.281e-05/0.9019, allocations: 188.4 kB / 1.286 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.97e-05/0.9019, allocations: 180.2 kB / 1.286 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.15e-05/0.902, allocations: 180.2 kB / 1.286 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.9023, allocations: 417.1 kB / 1.286 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.122e-05/0.9023, allocations: 101 kB / 1.286 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.9024, allocations: 101 kB / 1.286 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-05/0.9025, allocations: 192.2 kB / 1.287 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.768e-05/0.9026, allocations: 176.3 kB / 1.287 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.762e-05/0.9026, allocations: 180.2 kB / 1.287 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.376e-05/0.9027, allocations: 180.3 kB / 1.287 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.9029, allocations: 315.7 kB / 1.287 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-05/0.903, allocations: 186 kB / 1.288 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.533e-05/0.9031, allocations: 180.2 kB / 1.288 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/0.9032, allocations: 105 kB / 1.288 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/0.9032, allocations: 176.3 kB / 1.288 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.9033, allocations: 112.9 kB / 1.288 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.702e-05/0.9033, allocations: 83.28 kB / 1.288 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9033, allocations: 0 / 1.288 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003178/0.9037, allocations: 51.8 kB / 1.288 GB, free: 2.617 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.001009/0.9047, allocations: 0.9761 MB / 1.289 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.034e-05/0.9048, allocations: 11.92 kB / 1.289 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9048, allocations: 0 / 1.289 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.9048, allocations: 0 / 1.289 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.9052, allocations: 455.7 kB / 1.29 GB, free: 1.188 MB / 0.9825 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.001312/0.9065, allocations: 1.357 MB / 1.291 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.9068, allocations: 0.669 MB / 1.292 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.601e-05/0.9068, allocations: 4 kB / 1.292 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.9068, allocations: 15.42 kB / 1.292 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.9068, allocations: 0 / 1.292 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9676/1.874, allocations: 2.66 MB / 1.294 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/9.744, allocations: 7.188 kB / 1.294 GB, free: 12.53 MB / 0.9981 GB " [Timeout remaining time 277] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 32.85266923601739]