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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009596/0.0009596, allocations: 195.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.44/2.44, allocations: 469.4 MB / 0.742 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 67.78 kB / 0.9083 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2301, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002056/0.2322, allocations: 1.276 MB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.2338, allocations: 1.426 MB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.2338, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.2339, allocations: 7.984 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.234, allocations: 11.88 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.2345, allocations: 218.9 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.592e-05/0.2346, allocations: 23.92 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.109e-05/0.2346, allocations: 3.984 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.917e-05/0.2347, allocations: 19.92 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.107e-05/0.2348, allocations: 11.98 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.2348, allocations: 0 / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.235, allocations: 151.8 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.235, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.2351, allocations: 15.92 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.2353, allocations: 147.8 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2353, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2353, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.2353, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 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.000302/0.2356, allocations: 373.1 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2356, allocations: 19.97 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.2357, allocations: 110 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.2358, allocations: 84.12 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2359, allocations: 239.7 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.2359, allocations: 150.9 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.236, allocations: 166.5 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.475e-05/0.236, allocations: 105 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.2361, allocations: 79.27 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.2361, allocations: 150.6 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.2361, allocations: 150.6 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4e-05/0.2362, allocations: 154.5 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.2364, allocations: 453.9 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.822e-05/0.2365, allocations: 177.1 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.2365, allocations: 84.14 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.2365, allocations: 75.28 kB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.2366, allocations: 109.8 kB / 1.069 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.2366, allocations: 4 kB / 1.069 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.064e-05/0.2367, allocations: 29.7 kB / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.2367, allocations: 126.7 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.2368, allocations: 101.8 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.2368, allocations: 29.7 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.2368, allocations: 84.14 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-06/0.2368, allocations: 0 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.2369, allocations: 25.7 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.237, allocations: 314.8 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.237, allocations: 0 / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.891e-05/0.237, allocations: 38.44 kB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.2371, allocations: 18.58 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2371, allocations: 4 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001065/0.2372, allocations: 61.47 kB / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.2372, allocations: 4 kB / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2372, allocations: 0 / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.2372, allocations: 0 / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.2373, allocations: 8 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.2373, allocations: 3.938 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.2374, allocations: 11.92 kB / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.2375, allocations: 8.094 kB / 1.07 GB, free: 7.469 MB / 0.8262 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 7.326e-05/0.2375, allocations: 193.5 kB / 1.07 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.2376, allocations: 109 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.2376, allocations: 108 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.434e-05/0.2377, allocations: 176.3 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.795e-05/0.2377, allocations: 180.3 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-05/0.2378, allocations: 188.5 kB / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.238, allocations: 401.2 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-05/0.238, allocations: 116.9 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.238, allocations: 105 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.024e-05/0.2381, allocations: 180.2 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.2382, allocations: 184.2 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.64e-05/0.2382, allocations: 180.3 kB / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-05/0.2383, allocations: 180.2 kB / 1.072 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.2384, allocations: 307.8 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.2384, allocations: 182 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.2385, allocations: 180.3 kB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.2386, allocations: 108.9 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.2386, allocations: 184.2 kB / 1.073 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.2386, allocations: 101 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.2387, allocations: 83.22 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2387, allocations: 0 / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002892/0.239, allocations: 51.98 kB / 1.074 GB, free: 3.824 MB / 0.8262 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.0006352/0.2396, allocations: 0.9842 MB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.398e-05/0.2397, allocations: 15.94 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2397, allocations: 4.188 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.2397, allocations: 0 / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.24, allocations: 452.6 kB / 1.075 GB, free: 2.383 MB / 0.8262 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.000886/0.2409, allocations: 1.353 MB / 1.076 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.2411, allocations: 0.6729 MB / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.837e-05/0.2411, allocations: 0 / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.2411, allocations: 15.42 kB / 1.077 GB, free: 228 kB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2411, allocations: 0 / 1.077 GB, free: 228 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4756/0.7167, allocations: 2.608 MB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.403/7.119, allocations: 4.812 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB (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 50 --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) 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) Reference file matches