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.001514/0.001514, allocations: 104.2 kB / 16.45 MB, free: 6.5 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.001631/0.001631, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.568/1.568, allocations: 230.5 MB / 252.8 MB, free: 8.984 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.352/3.352, allocations: 0.4899 GB / 0.7915 GB, free: 33.44 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [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.002171/0.002171, allocations: 73.2 kB / 1.149 GB, free: 26.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4008, allocations: 176.1 MB / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002794/0.4036, allocations: 1.281 MB / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002529/0.4061, allocations: 1.488 MB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.4062, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.4062, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.4064, allocations: 11.94 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008056/0.4072, allocations: 218.4 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.4073, allocations: 27.92 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.4074, allocations: 11.98 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.4075, allocations: 15.94 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.933e-05/0.4076, allocations: 15.97 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.4076, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00045/0.4081, allocations: 167.8 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.4081, allocations: 7.984 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.4081, allocations: 7.938 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.4085, allocations: 151.5 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4085, allocations: 0 / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4085, allocations: 0 / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.4085, allocations: 0 / 1.325 GB, free: 15.36 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.0004736/0.409, allocations: 375 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.409, allocations: 11.98 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/0.4091, allocations: 84.16 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.4093, allocations: 247.6 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.4094, allocations: 154.9 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.815e-05/0.4095, allocations: 158.7 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.996e-05/0.4096, allocations: 105 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.4096, allocations: 75.28 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.4097, allocations: 154.6 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.288e-05/0.4097, allocations: 154.5 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.563e-05/0.4098, allocations: 154.6 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.4102, allocations: 461.9 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.453e-05/0.4103, allocations: 165.1 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.4103, allocations: 84.08 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.4103, allocations: 79.22 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.018e-05/0.4104, allocations: 109.8 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4104, allocations: 0 / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.044e-05/0.4105, allocations: 33.69 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.4106, allocations: 130.7 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.4107, allocations: 105.8 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.4107, allocations: 29.69 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.4108, allocations: 80.14 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-06/0.4108, allocations: 4 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.4108, allocations: 21.72 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4109, allocations: 310.8 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.411, allocations: 7.984 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.054e-05/0.411, allocations: 26.52 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.05e-05/0.4111, allocations: 30.58 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4111, allocations: 0 / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001286/0.4112, allocations: 49.56 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4112, allocations: 4 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4112, allocations: 8.078 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4112, allocations: 0 / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.4113, allocations: 15.91 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4113, allocations: 3.984 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.4115, allocations: 8.094 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.4115, allocations: 8.25 kB / 1.328 GB, free: 11.73 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.0001159/0.4116, allocations: 189.1 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.4117, allocations: 104.9 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.4117, allocations: 112 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.082e-05/0.4118, allocations: 184.3 kB / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.044e-05/0.4119, allocations: 180.3 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.102e-05/0.412, allocations: 184.2 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.4122, allocations: 405.2 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.996e-05/0.4123, allocations: 112.8 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.4123, allocations: 101 kB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.55e-05/0.4124, allocations: 176.3 kB / 1.33 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.3e-05/0.4125, allocations: 192.2 kB / 1.33 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-05/0.4126, allocations: 176.3 kB / 1.33 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.176e-05/0.4127, allocations: 184.2 kB / 1.33 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.4128, allocations: 311.6 kB / 1.33 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.466e-05/0.4129, allocations: 182.1 kB / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.58e-05/0.413, allocations: 188.2 kB / 1.331 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.4131, allocations: 104.9 kB / 1.331 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.4132, allocations: 176.3 kB / 1.331 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/0.4132, allocations: 108.9 kB / 1.331 GB, free: 8.203 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.237e-05/0.4133, allocations: 83.28 kB / 1.331 GB, free: 8.121 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4133, allocations: 0 / 1.331 GB, free: 8.121 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003509/0.4136, allocations: 51.8 kB / 1.331 GB, free: 8.07 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.0006999/0.4143, allocations: 348.3 kB / 1.332 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.12e-05/0.4144, allocations: 7.984 kB / 1.332 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4144, allocations: 0 / 1.332 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/0.4144, allocations: 3.938 kB / 1.332 GB, free: 7.746 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.4148, allocations: 469.5 kB / 1.332 GB, free: 7.285 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.4151, allocations: 175.3 kB / 1.332 GB, free: 7.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.4154, allocations: 0.6768 MB / 1.333 GB, free: 6.387 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.643e-05/0.4155, allocations: 3.938 kB / 1.333 GB, free: 6.383 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.4155, allocations: 7.438 kB / 1.333 GB, free: 6.375 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4155, allocations: 0 / 1.333 GB, free: 6.375 MB / 1.029 GB Notification: Performance of Templates: time 0.005371/0.4209, allocations: 1.617 MB / 1.334 GB, free: 4.773 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.368877206929028]