Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 104.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.113/3.113, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 82.53 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3493, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002383/0.3517, allocations: 1.304 MB / 1.322 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.3539, allocations: 1.48 MB / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.3539, allocations: 0 / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.354, allocations: 3.938 kB / 1.324 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.3542, allocations: 15.92 kB / 1.324 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.3548, allocations: 214 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.508e-05/0.3549, allocations: 23.94 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.3549, allocations: 7.984 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.355, allocations: 19.92 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.3551, allocations: 19.92 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.3551, allocations: 0 / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.3554, allocations: 167.8 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.3554, allocations: 7.984 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.3554, allocations: 11.88 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.3557, allocations: 147.9 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3557, allocations: 0 / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3557, allocations: 0 / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3557, allocations: 0 / 1.324 GB, free: 15.9 MB / 1.029 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.0004295/0.3561, allocations: 375 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3562, allocations: 15.98 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.617e-05/0.3562, allocations: 106 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.862e-05/0.3563, allocations: 80.22 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.3565, allocations: 243.6 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.048e-05/0.3566, allocations: 154.9 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.3566, allocations: 158.5 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.132e-05/0.3567, allocations: 112.8 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.3567, allocations: 75.28 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/0.3568, allocations: 154.6 kB / 1.326 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/0.3569, allocations: 150.6 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.236e-05/0.3569, allocations: 150.6 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.3572, allocations: 461.9 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.745e-05/0.3573, allocations: 177 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.3574, allocations: 84.12 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.3574, allocations: 75.28 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.3575, allocations: 109.8 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3575, allocations: 4 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.759e-05/0.3575, allocations: 25.7 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.3576, allocations: 126.7 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3577, allocations: 117.7 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3577, allocations: 25.7 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.3578, allocations: 84.14 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.3578, allocations: 0 / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.3578, allocations: 17.72 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.358, allocations: 318.8 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.358, allocations: 4 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.885e-05/0.358, allocations: 30.56 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.571e-05/0.3581, allocations: 22.52 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3581, allocations: 4.25 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000127/0.3582, allocations: 53.56 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3582, allocations: 11.94 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3582, allocations: 4 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3582, allocations: 0 / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.3583, allocations: 7.938 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3583, allocations: 4 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.3585, allocations: 11.98 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3585, allocations: 4.094 kB / 1.328 GB, free: 12.16 MB / 1.029 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.0001093/0.3586, allocations: 189.1 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.3587, allocations: 104.9 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.3587, allocations: 108.1 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.461e-05/0.3588, allocations: 184.2 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-05/0.3589, allocations: 180.2 kB / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.148e-05/0.3589, allocations: 180.3 kB / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.3592, allocations: 413.1 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.005e-05/0.3592, allocations: 101 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.3593, allocations: 101 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.559e-05/0.3594, allocations: 184.2 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.47e-05/0.3594, allocations: 184.3 kB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.513e-05/0.3595, allocations: 184.2 kB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.238e-05/0.3596, allocations: 176.3 kB / 1.33 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.3597, allocations: 311.7 kB / 1.33 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.014e-05/0.3598, allocations: 186.1 kB / 1.33 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.754e-05/0.3599, allocations: 188.2 kB / 1.33 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.36, allocations: 101 kB / 1.33 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.3601, allocations: 176.3 kB / 1.331 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.3601, allocations: 108.9 kB / 1.331 GB, free: 8.648 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.776e-05/0.3602, allocations: 83.27 kB / 1.331 GB, free: 8.566 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3602, allocations: 0 / 1.331 GB, free: 8.566 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003133/0.3605, allocations: 59.8 kB / 1.331 GB, free: 8.508 MB / 1.029 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.0009779/0.3615, allocations: 0.9669 MB / 1.332 GB, free: 7.547 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.3616, allocations: 11.88 kB / 1.332 GB, free: 7.535 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3616, allocations: 4.188 kB / 1.332 GB, free: 7.531 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/0.3616, allocations: 4 kB / 1.332 GB, free: 7.527 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.362, allocations: 455.7 kB / 1.332 GB, free: 7.078 MB / 1.029 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.0013/0.3633, allocations: 1.361 MB / 1.334 GB, free: 5.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.3636, allocations: 0.6729 MB / 1.334 GB, free: 4.926 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.3636, allocations: 4 kB / 1.334 GB, free: 4.922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.3636, allocations: 11.44 kB / 1.334 GB, free: 4.91 MB / 1.029 GB Notification: Performance of SimCode: time 2.61e-07/0.3636, allocations: 0 / 1.334 GB, free: 4.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.128/1.492, allocations: 2.659 MB / 1.337 GB, free: 2.422 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/9.225, allocations: 3.781 kB / 1.337 GB, free: 2.418 MB / 1.029 GB " [Timeout remaining time 271] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 40.11695172498003]