Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_11_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.005107/0.005107, allocations: 101 kB / 15.73 MB, free: 6.059 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.001353/0.001353, allocations: 192.2 kB / 16.67 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.569/3.569, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0032/0.0032, allocations: 67.88 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379/1.382, allocations: 159.1 MB / 1.22 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.004334/1.386, allocations: 1.262 MB / 1.221 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008107/1.394, allocations: 1.449 MB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/1.395, allocations: 0 / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/1.395, allocations: 0 / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002616/1.395, allocations: 15.92 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/1.396, allocations: 215.8 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/1.396, allocations: 23.92 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.492e-05/1.396, allocations: 4 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/1.397, allocations: 19.86 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/1.397, allocations: 15.92 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/1.397, allocations: 0 / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005211/1.402, allocations: 171.8 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/1.402, allocations: 3.984 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/1.402, allocations: 11.94 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000521/1.403, allocations: 151.3 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.403, allocations: 0 / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.314e-06/1.403, allocations: 0 / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.403, allocations: 0 / 1.223 GB, free: 14.73 MB / 0.9512 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.0007815/1.403, allocations: 371.1 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/1.404, allocations: 12.03 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.643e-05/1.404, allocations: 110 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/1.404, allocations: 76.22 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/1.404, allocations: 243.7 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/1.404, allocations: 154.9 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/1.404, allocations: 158.5 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/1.404, allocations: 108.9 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.038e-05/1.405, allocations: 79.28 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.405, allocations: 150.6 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/1.405, allocations: 150.6 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/1.405, allocations: 150.6 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/1.406, allocations: 461.8 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/1.406, allocations: 177.1 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.54e-05/1.406, allocations: 88.12 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.404e-05/1.406, allocations: 75.28 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/1.406, allocations: 109.9 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.893e-06/1.406, allocations: 0 / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001402/1.406, allocations: 37.64 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.406, allocations: 126.7 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/1.407, allocations: 105.8 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/1.407, allocations: 25.7 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.206e-05/1.407, allocations: 84.14 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-06/1.407, allocations: 0 / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/1.407, allocations: 17.72 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002384/1.407, allocations: 318.8 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/1.407, allocations: 4 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.084e-05/1.407, allocations: 26.56 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.378e-05/1.407, allocations: 26.52 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.407, allocations: 0 / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003053/1.408, allocations: 65.5 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.408, allocations: 4 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.408, allocations: 0 / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/1.408, allocations: 4 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/1.408, allocations: 4 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.408, allocations: 0 / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/1.408, allocations: 15.88 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/1.408, allocations: 4 kB / 1.227 GB, free: 11 MB / 0.9512 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.0002694/1.408, allocations: 194 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/1.409, allocations: 108.9 kB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/1.409, allocations: 108.3 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001383/1.409, allocations: 188.2 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002423/1.409, allocations: 180.2 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001356/1.409, allocations: 184.3 kB / 1.228 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/1.41, allocations: 409.1 kB / 1.228 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.998e-05/1.41, allocations: 105 kB / 1.228 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-05/1.41, allocations: 104.9 kB / 1.228 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/1.41, allocations: 180.3 kB / 1.228 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/1.41, allocations: 176.3 kB / 1.229 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000139/1.41, allocations: 192.2 kB / 1.229 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001307/1.411, allocations: 176.3 kB / 1.229 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/1.411, allocations: 311.7 kB / 1.229 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/1.411, allocations: 186.3 kB / 1.229 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/1.411, allocations: 180.3 kB / 1.23 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/1.411, allocations: 109 kB / 1.23 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/1.412, allocations: 180.2 kB / 1.23 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.006e-05/1.412, allocations: 105 kB / 1.23 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.583e-05/1.412, allocations: 83.27 kB / 1.23 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.71e-07/1.412, allocations: 0 / 1.23 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000653/1.412, allocations: 55.8 kB / 1.23 GB, free: 7.336 MB / 0.9512 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.002842/1.415, allocations: 0.9677 MB / 1.231 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001249/1.415, allocations: 12 kB / 1.231 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.415, allocations: 0 / 1.231 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/1.416, allocations: 4.125 kB / 1.231 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006748/1.416, allocations: 463.7 kB / 1.232 GB, free: 5.902 MB / 0.9512 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.00205/1.418, allocations: 1.355 MB / 1.233 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/1.419, allocations: 0.6729 MB / 1.234 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.058e-05/1.419, allocations: 4 kB / 1.234 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/1.419, allocations: 7.438 kB / 1.234 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/1.419, allocations: 3.938 kB / 1.234 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.737/3.156, allocations: 2.643 MB / 1.236 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/13.17, allocations: 10.17 kB / 1.236 GB, free: 1.258 MB / 0.9512 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches