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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004128/0.004129, allocations: 97.14 kB / 15.73 MB, free: 6.039 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.001235/0.001235, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 64.12 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2825, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002303/0.2848, allocations: 1.27 MB / 1.243 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.287, allocations: 1.448 MB / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.2871, allocations: 0 / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.2871, allocations: 0 / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.2872, allocations: 11.94 kB / 1.244 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.2878, allocations: 219 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.682e-05/0.2879, allocations: 27.91 kB / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.06e-05/0.288, allocations: 4 kB / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.288, allocations: 19.92 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.2881, allocations: 15.92 kB / 1.244 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.2882, allocations: 0 / 1.244 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.2885, allocations: 167.8 kB / 1.245 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.2885, allocations: 3.984 kB / 1.245 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.2885, allocations: 15.92 kB / 1.245 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.2888, allocations: 143.6 kB / 1.245 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2888, allocations: 0 / 1.245 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2888, allocations: 0 / 1.245 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.2888, allocations: 0 / 1.245 GB, free: 6.871 MB / 0.9981 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.0003828/0.2892, allocations: 375 kB / 1.245 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2892, allocations: 12.03 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.61e-05/0.2893, allocations: 106 kB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.2894, allocations: 80.22 kB / 1.245 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.2896, allocations: 239.7 kB / 1.245 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.2897, allocations: 158.9 kB / 1.246 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.2897, allocations: 166.4 kB / 1.246 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.027e-05/0.2898, allocations: 101 kB / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.2898, allocations: 75.28 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.2899, allocations: 154.6 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.985e-05/0.29, allocations: 150.6 kB / 1.246 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.835e-05/0.2901, allocations: 150.6 kB / 1.246 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.2904, allocations: 457.9 kB / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.2905, allocations: 173.1 kB / 1.247 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.2906, allocations: 80.14 kB / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.2906, allocations: 79.28 kB / 1.247 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.867e-05/0.2907, allocations: 109.8 kB / 1.247 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.2907, allocations: 0 / 1.247 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.068e-05/0.2907, allocations: 41.58 kB / 1.247 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.2908, allocations: 130.6 kB / 1.247 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.851e-05/0.2909, allocations: 97.86 kB / 1.248 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.2909, allocations: 29.7 kB / 1.248 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.291, allocations: 88.11 kB / 1.248 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.291, allocations: 4 kB / 1.248 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/0.2911, allocations: 21.72 kB / 1.248 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2912, allocations: 314.8 kB / 1.248 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.2912, allocations: 3.984 kB / 1.248 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.36e-05/0.2913, allocations: 22.58 kB / 1.248 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.2913, allocations: 30.52 kB / 1.248 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2913, allocations: 0 / 1.248 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001243/0.2915, allocations: 57.56 kB / 1.248 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2915, allocations: 5.25 kB / 1.248 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2915, allocations: 0 / 1.248 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.2915, allocations: 0 / 1.248 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.718e-05/0.2916, allocations: 11.98 kB / 1.248 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.2916, allocations: 0 / 1.248 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.2917, allocations: 12.03 kB / 1.248 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.2918, allocations: 4 kB / 1.248 GB, free: 3.145 MB / 0.9981 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.000114/0.2919, allocations: 193 kB / 1.248 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.292, allocations: 112.9 kB / 1.248 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.292, allocations: 104.1 kB / 1.248 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.033e-05/0.2921, allocations: 184.4 kB / 1.249 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-05/0.2922, allocations: 180.3 kB / 1.249 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.512e-05/0.2923, allocations: 188.2 kB / 1.249 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.2926, allocations: 409.2 kB / 1.249 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/0.2926, allocations: 105 kB / 1.25 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.2927, allocations: 108.9 kB / 1.25 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.536e-05/0.2928, allocations: 180.3 kB / 1.25 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/0.2929, allocations: 180.3 kB / 1.25 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.047e-05/0.2929, allocations: 184.2 kB / 1.25 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.917e-05/0.293, allocations: 176.3 kB / 1.25 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.2932, allocations: 315.7 kB / 1.251 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/0.2933, allocations: 182 kB / 1.251 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.2934, allocations: 176.3 kB / 1.251 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.4974/0.7908, allocations: 102.3 kB / 1.251 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.7909, allocations: 182.5 kB / 1.251 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.7909, allocations: 106.6 kB / 1.251 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.791, allocations: 85.61 kB / 1.251 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.791, allocations: 0 / 1.251 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003719/0.7914, allocations: 52.67 kB / 1.251 GB, free: 14.91 MB / 0.9981 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.0006877/0.7921, allocations: 0.9711 MB / 1.252 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.178e-05/0.7921, allocations: 26.11 kB / 1.252 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7922, allocations: 0 / 1.252 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.7922, allocations: 2.125 kB / 1.252 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.7924, allocations: 454.4 kB / 1.253 GB, free: 13.65 MB / 0.9981 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.000765/0.7932, allocations: 1.348 MB / 1.254 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.365e-05/0.7933, allocations: 0.6735 MB / 1.255 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.502e-05/0.7933, allocations: 2.781 kB / 1.255 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.7933, allocations: 13.61 kB / 1.255 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.7933, allocations: 4.469 kB / 1.255 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9693/1.763, allocations: 2.622 MB / 1.257 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.398/10.16, allocations: 14.25 kB / 1.257 GB, free: 11.23 MB / 0.9981 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 400 --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