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.008279/0.008279, allocations: 95.83 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.002291/0.002291, allocations: 200 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.6/1.6, allocations: 222.9 MB / 240.4 MB, free: 4.32 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 3.909/3.909, allocations: 437.1 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003127/0.003127, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4867, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.004137/0.4909, allocations: 1.28 MB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004085/0.495, allocations: 1.425 MB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.4951, allocations: 4 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.4952, allocations: 7.938 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.4955, allocations: 15.92 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.4967, allocations: 214.9 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.4969, allocations: 31.84 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.286e-05/0.4969, allocations: 0 / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.4971, allocations: 19.92 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.4973, allocations: 11.98 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.4973, allocations: 7.875 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.4979, allocations: 167.8 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.4979, allocations: 3.984 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.4979, allocations: 4 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.4984, allocations: 147.9 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4984, allocations: 4 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4984, allocations: 0 / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.4984, allocations: 0 / 1.169 GB, free: 3.953 MB / 0.92 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.000635/0.4991, allocations: 371 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.4992, allocations: 8.031 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.4993, allocations: 114 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.4994, allocations: 84.22 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.4997, allocations: 239.7 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.4999, allocations: 158.9 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.5, allocations: 154.5 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.5002, allocations: 108.9 kB / 1.171 GB, free: 2.637 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-05/0.5002, allocations: 75.28 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.5004, allocations: 150.6 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.5005, allocations: 158.6 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.252e-05/0.5006, allocations: 150.6 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.5011, allocations: 461.9 kB / 1.172 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.5012, allocations: 177 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.475e-05/0.5013, allocations: 80.14 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.876e-05/0.5014, allocations: 83.28 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.242e-05/0.5015, allocations: 109.8 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.5015, allocations: 0 / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.00014/0.5017, allocations: 29.66 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.5018, allocations: 134.6 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.502, allocations: 101.8 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.502, allocations: 33.64 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.5021, allocations: 88.12 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-06/0.5022, allocations: 0 / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.5022, allocations: 21.7 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.5025, allocations: 318.8 kB / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.5025, allocations: 0 / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.512e-05/0.5026, allocations: 26.56 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.5027, allocations: 30.52 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5028, allocations: 0 / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002488/0.503, allocations: 53.56 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.5031, allocations: 8 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5031, allocations: 0 / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5031, allocations: 3.938 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.982e-05/0.5032, allocations: 8.094 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.5033, allocations: 4 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.5035, allocations: 7.984 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.5036, allocations: 0 / 1.173 GB, free: 220 kB / 0.92 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.0001926/0.5038, allocations: 193.1 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.5039, allocations: 108.9 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.5041, allocations: 112.1 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001237/0.5042, allocations: 180.3 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001214/0.5043, allocations: 180.2 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001232/0.5045, allocations: 176.3 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.5049, allocations: 413.1 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.478e-05/0.505, allocations: 101 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-05/0.5051, allocations: 109.2 kB / 1.174 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/0.5052, allocations: 180.2 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.5054, allocations: 188.2 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001275/0.5055, allocations: 184.2 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001224/0.5057, allocations: 180.3 kB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.5059, allocations: 311.7 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.5061, allocations: 182.1 kB / 1.175 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.5063, allocations: 180.2 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.5064, allocations: 101 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.5066, allocations: 184.3 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-05/0.5067, allocations: 109 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.734e-05/0.5068, allocations: 87.22 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5068, allocations: 0 / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006634/0.5075, allocations: 55.8 kB / 1.176 GB, free: 12.55 MB / 0.9356 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.001602/0.5091, allocations: 0.9786 MB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.5093, allocations: 11.98 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5093, allocations: 0 / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/0.5093, allocations: 0 / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/0.51, allocations: 455.7 kB / 1.178 GB, free: 11.12 MB / 0.9356 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.002094/0.5121, allocations: 1.353 MB / 1.179 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.5126, allocations: 0.6729 MB / 1.18 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.935e-05/0.5126, allocations: 4 kB / 1.18 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.5127, allocations: 11.42 kB / 1.18 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of SimCode: time 6.42e-07/0.5127, allocations: 4 kB / 1.18 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.531/2.043, allocations: 2.618 MB / 1.182 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/13.54, allocations: 17.44 kB / 1.182 GB, free: 6.488 MB / 0.9356 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