Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_10_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.001019/0.001019, allocations: 108 kB / 15.6 MB, free: 132 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.0009728/0.0009727, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.205/1.205, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.342/2.342, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.89 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5046, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002202/0.5069, allocations: 1.268 MB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.5087, allocations: 1.44 MB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.5088, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.5088, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.509, allocations: 15.92 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.5096, allocations: 215.2 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.144e-05/0.5096, allocations: 23.92 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.5096, allocations: 3.984 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.902e-05/0.5097, allocations: 16 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.5098, allocations: 19.91 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.5099, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.5101, allocations: 147.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.5101, allocations: 7.984 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.5101, allocations: 15.92 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.5104, allocations: 143.7 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.5104, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5104, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.5104, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 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.0003371/0.5107, allocations: 373.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.5108, allocations: 8.031 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.5108, allocations: 106 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.5109, allocations: 88.2 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.511, allocations: 235.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.5111, allocations: 154.9 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.5112, allocations: 158.5 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.97e-05/0.5112, allocations: 104.9 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.5112, allocations: 79.22 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.5113, allocations: 158.6 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-05/0.5113, allocations: 158.5 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/0.5114, allocations: 150.6 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.5117, allocations: 461.8 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.5117, allocations: 177.1 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.5118, allocations: 84.08 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.5118, allocations: 75.28 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.5118, allocations: 109.8 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.5118, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.915e-05/0.5119, allocations: 25.7 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.512, allocations: 130.7 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.5121, allocations: 105.8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.5121, allocations: 25.7 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.5121, allocations: 92.08 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-06/0.5121, allocations: 0 / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.5122, allocations: 21.7 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.5123, allocations: 318.9 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.5123, allocations: 3.938 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.5123, allocations: 34.56 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.278e-05/0.5124, allocations: 18.58 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5124, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001119/0.5125, allocations: 53.62 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.5125, allocations: 12.03 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5125, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.5125, allocations: 3.938 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.258e-05/0.5126, allocations: 4 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5126, allocations: 7.984 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.5127, allocations: 7.984 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.5128, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 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 8.702e-05/0.5128, allocations: 193.1 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.5129, allocations: 108.9 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.5129, allocations: 116 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.153e-05/0.513, allocations: 176.3 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.449e-05/0.5131, allocations: 188.2 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-05/0.5131, allocations: 180.3 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.5133, allocations: 409.2 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/0.5134, allocations: 104.9 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.5134, allocations: 101 kB / 1.026 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.655e-05/0.5135, allocations: 188.2 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.5135, allocations: 180.2 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.956e-05/0.5136, allocations: 176.3 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.67e-05/0.5136, allocations: 188.5 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.5137, allocations: 303.7 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-05/0.5138, allocations: 190.1 kB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.5139, allocations: 180.3 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.514, allocations: 108.9 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.514, allocations: 180.3 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.514, allocations: 108.9 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.587e-05/0.5141, allocations: 83.27 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5141, allocations: 0 / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002955/0.5144, allocations: 51.98 kB / 1.027 GB, free: 7.762 MB / 0.7794 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.0006801/0.5151, allocations: 0.9714 MB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.048e-05/0.5152, allocations: 19.92 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5152, allocations: 0 / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.5152, allocations: 0 / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.5155, allocations: 455.9 kB / 1.029 GB, free: 6.336 MB / 0.7794 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.000942/0.5164, allocations: 1.353 MB / 1.03 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.5166, allocations: 0.6729 MB / 1.031 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.15e-05/0.5167, allocations: 7.984 kB / 1.031 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.5167, allocations: 11.44 kB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5167, allocations: 3.938 kB / 1.031 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4823/0.999, allocations: 2.59 MB / 1.033 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.673/7.673, allocations: 20.58 kB / 1.033 GB, free: 1.711 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches