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.001789/0.001789, allocations: 111 kB / 16.46 MB, free: 6.453 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.001975/0.001975, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.553/1.553, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.286/3.286, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.002118/0.002118, allocations: 72.75 kB / 1.172 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4227, allocations: 180.2 MB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002624/0.4253, allocations: 1.288 MB / 1.349 GB, free: 8.715 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00241/0.4277, allocations: 1.488 MB / 1.35 GB, free: 7.219 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.4278, allocations: 0 / 1.35 GB, free: 7.219 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.4278, allocations: 0 / 1.35 GB, free: 7.219 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.428, allocations: 15.92 kB / 1.35 GB, free: 7.203 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006795/0.4287, allocations: 217.6 kB / 1.351 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.016e-05/0.4288, allocations: 19.94 kB / 1.351 GB, free: 6.973 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.4288, allocations: 7.984 kB / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.429, allocations: 27.86 kB / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/0.4291, allocations: 11.98 kB / 1.351 GB, free: 6.926 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.4291, allocations: 0 / 1.351 GB, free: 6.926 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.4294, allocations: 167.8 kB / 1.351 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.4294, allocations: 3.984 kB / 1.351 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.4294, allocations: 15.92 kB / 1.351 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.4297, allocations: 147.9 kB / 1.351 GB, free: 6.598 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4297, allocations: 0 / 1.351 GB, free: 6.598 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4297, allocations: 0 / 1.351 GB, free: 6.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.4297, allocations: 0 / 1.351 GB, free: 6.598 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.0004439/0.4301, allocations: 380.7 kB / 1.351 GB, free: 6.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4302, allocations: 11.98 kB / 1.351 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.156e-05/0.4302, allocations: 110 kB / 1.352 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.4303, allocations: 80.22 kB / 1.352 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.4305, allocations: 243.6 kB / 1.352 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.491e-05/0.4306, allocations: 154.9 kB / 1.352 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.4307, allocations: 162.5 kB / 1.352 GB, free: 5.383 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.356e-05/0.4307, allocations: 109 kB / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.4308, allocations: 75.28 kB / 1.352 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.4308, allocations: 150.6 kB / 1.352 GB, free: 5.047 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.164e-05/0.4309, allocations: 150.6 kB / 1.353 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.088e-05/0.431, allocations: 154.5 kB / 1.353 GB, free: 4.746 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.4313, allocations: 461.9 kB / 1.353 GB, free: 4.246 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.892e-05/0.4314, allocations: 177.1 kB / 1.353 GB, free: 4.062 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/0.4315, allocations: 84.14 kB / 1.353 GB, free: 3.977 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.4315, allocations: 79.22 kB / 1.354 GB, free: 3.898 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/0.4316, allocations: 109.8 kB / 1.354 GB, free: 3.781 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.4316, allocations: 3.938 kB / 1.354 GB, free: 3.777 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.252e-05/0.4317, allocations: 29.66 kB / 1.354 GB, free: 3.742 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.4317, allocations: 130.7 kB / 1.354 GB, free: 3.602 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.4319, allocations: 101.8 kB / 1.354 GB, free: 3.492 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.4319, allocations: 25.7 kB / 1.354 GB, free: 3.461 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.4319, allocations: 88.14 kB / 1.354 GB, free: 3.371 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.4319, allocations: 4 kB / 1.354 GB, free: 3.367 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.432, allocations: 21.7 kB / 1.354 GB, free: 3.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4321, allocations: 314.8 kB / 1.354 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.4322, allocations: 0 / 1.354 GB, free: 3.023 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.151e-05/0.4322, allocations: 30.56 kB / 1.354 GB, free: 2.984 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.4323, allocations: 26.52 kB / 1.354 GB, free: 2.949 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4323, allocations: 0 / 1.354 GB, free: 2.949 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001356/0.4324, allocations: 53.56 kB / 1.354 GB, free: 2.891 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4324, allocations: 8 kB / 1.354 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4324, allocations: 0 / 1.354 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4324, allocations: 0 / 1.354 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.4325, allocations: 11.94 kB / 1.354 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4325, allocations: 0 / 1.354 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.4327, allocations: 12.33 kB / 1.354 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.4327, allocations: 7.938 kB / 1.354 GB, free: 2.852 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.0001266/0.4328, allocations: 193.1 kB / 1.355 GB, free: 2.652 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.4329, allocations: 104.9 kB / 1.355 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.309e-05/0.433, allocations: 108.1 kB / 1.355 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.885e-05/0.433, allocations: 184.2 kB / 1.355 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.052e-05/0.4331, allocations: 180.3 kB / 1.355 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-05/0.4332, allocations: 188.2 kB / 1.355 GB, free: 1.863 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.4335, allocations: 401.2 kB / 1.356 GB, free: 1.414 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.117e-05/0.4335, allocations: 101 kB / 1.356 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.161e-05/0.4336, allocations: 112.9 kB / 1.356 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-05/0.4337, allocations: 180.3 kB / 1.356 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.07e-05/0.4338, allocations: 184.2 kB / 1.356 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.781e-05/0.4338, allocations: 180.2 kB / 1.357 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.781e-05/0.4339, allocations: 184.2 kB / 1.357 GB, free: 460 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.4341, allocations: 303.8 kB / 1.357 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4342, allocations: 190 kB / 1.357 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/0.4343, allocations: 176.3 kB / 1.357 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.611e-05/0.4344, allocations: 104.9 kB / 1.357 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.4345, allocations: 180.3 kB / 1.358 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.4345, allocations: 105 kB / 1.358 GB, free: 15.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.4346, allocations: 87.2 kB / 1.358 GB, free: 15.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4346, allocations: 4 kB / 1.358 GB, free: 15.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003647/0.4349, allocations: 55.8 kB / 1.358 GB, free: 15.19 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.001033/0.436, allocations: 0.9666 MB / 1.359 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.79e-05/0.4361, allocations: 15.94 kB / 1.359 GB, free: 14.22 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4361, allocations: 0 / 1.359 GB, free: 14.22 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/0.4361, allocations: 7.984 kB / 1.359 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.4365, allocations: 457.7 kB / 1.359 GB, free: 13.76 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.001323/0.4378, allocations: 1.357 MB / 1.361 GB, free: 12.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.4381, allocations: 0.6729 MB / 1.361 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.4382, allocations: 7.938 kB / 1.361 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.4382, allocations: 7.438 kB / 1.361 GB, free: 11.6 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4382, allocations: 0 / 1.361 GB, free: 11.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.187/1.626, allocations: 2.657 MB / 1.364 GB, free: 9.109 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/9.647, allocations: 10.22 kB / 1.364 GB, free: 9.105 MB / 1.061 GB " [Timeout remaining time 271] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 40.949231781065464]