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.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.0013/0.0013, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.001489/0.001489, allocations: 213.2 kB / 22.24 MB, free: 5.242 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.356/3.356, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.00297/0.00297, allocations: 68.55 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3753, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002718/0.378, allocations: 1.286 MB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002667/0.3806, allocations: 1.532 MB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.3807, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.3807, allocations: 4 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.3809, allocations: 11.94 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006649/0.3816, allocations: 221 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.604e-05/0.3817, allocations: 23.86 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.3817, allocations: 3.984 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.3819, allocations: 27.92 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/0.382, allocations: 7.984 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.382, allocations: 4 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.3823, allocations: 147.8 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.3823, allocations: 15.92 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.3823, allocations: 7.984 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.3826, allocations: 143.9 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3826, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3826, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.3826, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 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.000444/0.3831, allocations: 294 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3831, allocations: 16.03 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.76e-05/0.3832, allocations: 106 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.892e-05/0.3833, allocations: 76.22 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.3835, allocations: 185.8 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.408e-05/0.3835, allocations: 154.9 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/0.3836, allocations: 158.5 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.647e-05/0.3837, allocations: 108.9 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.3838, allocations: 75.28 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-05/0.3838, allocations: 150.6 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.484e-05/0.3839, allocations: 150.6 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.812e-05/0.384, allocations: 162.5 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.3843, allocations: 421 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3844, allocations: 177 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.3845, allocations: 84.12 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.3845, allocations: 83.22 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.522e-05/0.3845, allocations: 105.8 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3845, allocations: 0 / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.119e-05/0.3846, allocations: 29.7 kB / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.3847, allocations: 130.6 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3848, allocations: 109.8 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3848, allocations: 25.7 kB / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.3849, allocations: 88.14 kB / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.3849, allocations: 0 / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.3849, allocations: 21.72 kB / 1.37 GB, free: 7.629 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3851, allocations: 314.8 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.3851, allocations: 4 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.911e-05/0.3852, allocations: 103.7 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.376e-05/0.3852, allocations: 26.52 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3852, allocations: 0 / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001292/0.3853, allocations: 57.56 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3854, allocations: 8 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3854, allocations: 3.984 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3854, allocations: 3.938 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.3855, allocations: 4.25 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3855, allocations: 4 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.3856, allocations: 15.98 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3856, allocations: 0 / 1.37 GB, free: 7.043 MB / 1.061 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.0001314/0.3857, allocations: 202.2 kB / 1.37 GB, free: 6.836 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.3858, allocations: 104.9 kB / 1.37 GB, free: 6.727 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.3859, allocations: 108.1 kB / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.532e-05/0.3859, allocations: 180.2 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.057e-05/0.386, allocations: 188.2 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.509e-05/0.3861, allocations: 176.3 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.3864, allocations: 380.2 kB / 1.371 GB, free: 5.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.846e-05/0.3864, allocations: 105 kB / 1.371 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.3865, allocations: 101 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.505e-05/0.3865, allocations: 184.2 kB / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.8e-05/0.3866, allocations: 176.3 kB / 1.372 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.159e-05/0.3867, allocations: 188.2 kB / 1.372 GB, free: 4.859 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.355e-05/0.3868, allocations: 180.3 kB / 1.372 GB, free: 4.676 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.3869, allocations: 307.7 kB / 1.373 GB, free: 4.352 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.387, allocations: 101 kB / 1.373 GB, free: 4.246 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.653e-05/0.3871, allocations: 192.2 kB / 1.373 GB, free: 4.051 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.3872, allocations: 101.1 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/0.3873, allocations: 192.2 kB / 1.373 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.3873, allocations: 101 kB / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.35e-05/0.3874, allocations: 87.2 kB / 1.373 GB, free: 3.559 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3874, allocations: 0 / 1.373 GB, free: 3.559 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003328/0.3877, allocations: 59.8 kB / 1.373 GB, free: 3.5 MB / 1.061 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.001036/0.3887, allocations: 0.9689 MB / 1.374 GB, free: 2.543 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.591e-05/0.3888, allocations: 8 kB / 1.374 GB, free: 2.535 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3888, allocations: 0 / 1.374 GB, free: 2.535 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.3888, allocations: 0 / 1.374 GB, free: 2.535 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.3892, allocations: 461.7 kB / 1.375 GB, free: 2.082 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.3904, allocations: 1.352 MB / 1.376 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.3905, allocations: 67.33 kB / 1.376 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.3905, allocations: 0 / 1.376 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.3906, allocations: 15.44 kB / 1.376 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3906, allocations: 0 / 1.376 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/0.4274, allocations: 3.136 MB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.44, allocations: 11.94 kB / 1.379 GB, free: 13.54 MB / 1.076 GB " [Timeout remaining time 288] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.53077028505504]