Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_9_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.008393/0.008393, allocations: 100.6 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 70.89 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2359, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002071/0.238, allocations: 1.27 MB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.24, allocations: 1.446 MB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.24, allocations: 3.938 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.24, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.2402, allocations: 11.92 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.2408, allocations: 219.5 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.042e-05/0.2409, allocations: 19.92 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.2409, allocations: 4 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.183e-05/0.241, allocations: 23.84 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.2411, allocations: 4 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2411, allocations: 4 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.2414, allocations: 167.8 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.2414, allocations: 11.98 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.2414, allocations: 11.92 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.2416, allocations: 143.8 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2417, allocations: 4 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2417, allocations: 0 / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.2417, allocations: 0 / 1.091 GB, free: 14.65 MB / 0.8575 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.000319/0.242, allocations: 362.9 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.242, allocations: 8.031 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.588e-05/0.2421, allocations: 110 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.2422, allocations: 88.05 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.2423, allocations: 243.7 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-05/0.2424, allocations: 150.9 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.2424, allocations: 158.5 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.895e-05/0.2425, allocations: 104.9 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.2425, allocations: 79.28 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.2426, allocations: 154.5 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.767e-05/0.2426, allocations: 150.6 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.479e-05/0.2427, allocations: 154.6 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.243, allocations: 461.9 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.663e-05/0.243, allocations: 181 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.2431, allocations: 80.14 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.2431, allocations: 75.28 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2432, allocations: 105.8 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 3.055e-06/0.2432, allocations: 3.984 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.994e-05/0.2432, allocations: 33.7 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.2433, allocations: 134.6 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.2434, allocations: 109.8 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.2434, allocations: 25.7 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.2435, allocations: 80.14 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.2435, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.2435, allocations: 25.7 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.2436, allocations: 314.8 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.2436, allocations: 4 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.941e-05/0.2437, allocations: 26.56 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/0.2437, allocations: 30.52 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2437, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001117/0.2438, allocations: 53.56 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2439, allocations: 5.719 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2439, allocations: 4 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2439, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.2439, allocations: 4 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.244, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.2441, allocations: 20.11 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.2441, allocations: 4 kB / 1.094 GB, free: 10.92 MB / 0.8575 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 9.85e-05/0.2442, allocations: 199.6 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.2443, allocations: 104.9 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.2443, allocations: 112.1 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.89e-05/0.2444, allocations: 180.3 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.233e-05/0.2445, allocations: 180.2 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.782e-05/0.2445, allocations: 176.3 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.2448, allocations: 417.1 kB / 1.095 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/0.2448, allocations: 101 kB / 1.096 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.2448, allocations: 101 kB / 1.096 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.887e-05/0.2449, allocations: 180.2 kB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/0.245, allocations: 180.3 kB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.223e-05/0.245, allocations: 192.2 kB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-05/0.2451, allocations: 180.3 kB / 1.096 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.2452, allocations: 307.6 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.2453, allocations: 182.1 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.2454, allocations: 192.2 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.2454, allocations: 101 kB / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.2455, allocations: 180.2 kB / 1.097 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.2455, allocations: 101 kB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.2456, allocations: 95.52 kB / 1.097 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2456, allocations: 0 / 1.097 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003099/0.2459, allocations: 43.98 kB / 1.097 GB, free: 7.27 MB / 0.8575 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.0007434/0.2467, allocations: 0.9798 MB / 1.098 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.499e-05/0.2467, allocations: 7.984 kB / 1.098 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2468, allocations: 0 / 1.098 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.2468, allocations: 192 / 1.098 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.2471, allocations: 467.6 kB / 1.099 GB, free: 5.828 MB / 0.8575 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.001027/0.2481, allocations: 1.353 MB / 1.1 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.2484, allocations: 0.669 MB / 1.101 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.2484, allocations: 7.938 kB / 1.101 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.2484, allocations: 7.438 kB / 1.101 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.2484, allocations: 0 / 1.101 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4715/0.72, allocations: 2.641 MB / 1.103 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/7.703, allocations: 17.55 kB / 1.103 GB, free: 1.18 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches