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.001551/0.001551, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001729/0.001729, allocations: 211 kB / 20.13 MB, free: 2.969 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.055/3.055, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="cs",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.001969/0.001969, allocations: 71.89 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9611/0.9631, allocations: 176.1 MB / 1.321 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002085/0.9652, allocations: 1.285 MB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.9668, allocations: 1.488 MB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.9668, allocations: 0 / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.9669, allocations: 0 / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.967, allocations: 10.72 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.9676, allocations: 214.5 kB / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.414e-05/0.9676, allocations: 26.59 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.9677, allocations: 3.984 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.9678, allocations: 28.72 kB / 1.324 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.545e-05/0.9679, allocations: 12.53 kB / 1.324 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.9679, allocations: 0 / 1.324 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.9681, allocations: 163.7 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.9681, allocations: 15.39 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.9681, allocations: 10.25 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.9683, allocations: 144.3 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.9683, allocations: 0 / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9683, allocations: 0 / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.9683, allocations: 0 / 1.325 GB, free: 22.44 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.0003184/0.9687, allocations: 376.2 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.9687, allocations: 15.17 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.474e-05/0.9687, allocations: 75.47 kB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.334e-05/0.9687, allocations: 117.5 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.9688, allocations: 79.12 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.9689, allocations: 239.7 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.9689, allocations: 157.6 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.969, allocations: 153.4 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.029e-05/0.969, allocations: 101 kB / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.969, allocations: 79.28 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.969, allocations: 150.6 kB / 1.326 GB, free: 20.87 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.9691, allocations: 164.5 kB / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.017e-05/0.9691, allocations: 150.6 kB / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.9692, allocations: 452 kB / 1.327 GB, free: 20.08 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.308e-05/0.9693, allocations: 175.8 kB / 1.327 GB, free: 19.9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.9693, allocations: 80.14 kB / 1.327 GB, free: 19.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.9693, allocations: 79.22 kB / 1.327 GB, free: 19.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.9693, allocations: 109.8 kB / 1.327 GB, free: 19.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.9693, allocations: 0 / 1.327 GB, free: 19.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.868e-05/0.9694, allocations: 35.86 kB / 1.327 GB, free: 19.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.9694, allocations: 130.6 kB / 1.328 GB, free: 19.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.798e-05/0.9695, allocations: 109.9 kB / 1.328 GB, free: 19.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.9695, allocations: 25.7 kB / 1.328 GB, free: 19.31 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.9695, allocations: 83.05 kB / 1.328 GB, free: 19.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.9695, allocations: 3.984 kB / 1.328 GB, free: 19.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.9696, allocations: 23.33 kB / 1.328 GB, free: 19.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.9696, allocations: 314.8 kB / 1.328 GB, free: 18.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.9696, allocations: 7.031 kB / 1.328 GB, free: 18.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.622e-05/0.9697, allocations: 27.73 kB / 1.328 GB, free: 18.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.9697, allocations: 24.11 kB / 1.328 GB, free: 18.83 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9697, allocations: 7.875 kB / 1.328 GB, free: 18.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001099/0.9698, allocations: 52.61 kB / 1.328 GB, free: 18.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.9698, allocations: 5.531 kB / 1.328 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9698, allocations: 2.719 kB / 1.328 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.9698, allocations: 0 / 1.328 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.016e-05/0.9699, allocations: 9.281 kB / 1.328 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.9699, allocations: 3.375 kB / 1.328 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.9701, allocations: 9.812 kB / 1.328 GB, free: 18.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.9701, allocations: 0 / 1.328 GB, free: 18.77 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 5.441e-05/0.9701, allocations: 197.3 kB / 1.328 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.9702, allocations: 111.7 kB / 1.329 GB, free: 18.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.9702, allocations: 108 kB / 1.329 GB, free: 18.35 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/0.9702, allocations: 179 kB / 1.329 GB, free: 18.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-05/0.9702, allocations: 179.5 kB / 1.329 GB, free: 17.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/0.9703, allocations: 190.9 kB / 1.329 GB, free: 17.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.9704, allocations: 406.9 kB / 1.33 GB, free: 17.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.9704, allocations: 104.9 kB / 1.33 GB, free: 17.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.9704, allocations: 101 kB / 1.33 GB, free: 17.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.952e-05/0.9704, allocations: 179.1 kB / 1.33 GB, free: 16.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.9705, allocations: 183.5 kB / 1.33 GB, free: 16.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.583e-05/0.9705, allocations: 188.3 kB / 1.33 GB, free: 16.58 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-05/0.9705, allocations: 182.7 kB / 1.33 GB, free: 16.4 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.85e-05/0.9706, allocations: 309.6 kB / 1.331 GB, free: 16.08 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.9706, allocations: 184.7 kB / 1.331 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.9706, allocations: 180.3 kB / 1.331 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.9707, allocations: 108.2 kB / 1.331 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.9707, allocations: 179 kB / 1.331 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.9707, allocations: 104.9 kB / 1.331 GB, free: 15.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.398e-05/0.9708, allocations: 84.47 kB / 1.332 GB, free: 15.21 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9708, allocations: 0 / 1.332 GB, free: 15.21 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003022/0.9711, allocations: 54.66 kB / 1.332 GB, free: 15.2 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.0006751/0.9717, allocations: 0.9825 MB / 1.333 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.075e-05/0.9718, allocations: 9.312 kB / 1.333 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9718, allocations: 0 / 1.333 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.9718, allocations: 6.969 kB / 1.333 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.9721, allocations: 455.7 kB / 1.333 GB, free: 13.87 MB / 1.061 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.0008322/0.9729, allocations: 1.354 MB / 1.334 GB, free: 12.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.973, allocations: 0.6754 MB / 1.335 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.315e-05/0.9731, allocations: 6.594 kB / 1.335 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.9731, allocations: 10.31 kB / 1.335 GB, free: 11.8 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.9731, allocations: 0 / 1.335 GB, free: 11.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.097/2.07, allocations: 2.685 MB / 1.338 GB, free: 11.28 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.294/10.36, allocations: 4.562 kB / 1.338 GB, free: 11.28 MB / 1.061 GB " [Timeout remaining time 270] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 42.54611639800714]