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.001729/0.001729, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001995/0.001995, allocations: 208.7 kB / 23 MB, free: 4.93 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.376/3.376, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.002038/0.002038, allocations: 69.89 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4976/0.4996, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002741/0.5024, allocations: 1.289 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002615/0.505, allocations: 1.524 MB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.505, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.5051, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.5053, allocations: 19.92 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.506, allocations: 223.4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.615e-05/0.506, allocations: 27.91 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.5061, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.5062, allocations: 19.98 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.5063, allocations: 15.92 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.5063, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.5066, allocations: 155.8 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.5066, allocations: 7.984 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.5066, allocations: 12 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.5069, allocations: 139.6 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5069, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5069, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5069, allocations: 0 / 1.33 GB, free: 13.56 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.0004073/0.5073, allocations: 293.9 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.5074, allocations: 8.031 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.193e-05/0.5075, allocations: 80.22 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.5076, allocations: 185.8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-05/0.5077, allocations: 158.9 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.5078, allocations: 162.7 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.35e-05/0.5079, allocations: 101 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.5079, allocations: 75.28 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.716e-05/0.508, allocations: 150.6 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/0.508, allocations: 150.6 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.506e-05/0.5081, allocations: 162.5 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.5084, allocations: 405.6 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.5085, allocations: 169.1 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.5086, allocations: 84.08 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.5086, allocations: 75.28 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.986e-05/0.5087, allocations: 109.8 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.5087, allocations: 4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.216e-05/0.5088, allocations: 37.64 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.5088, allocations: 51.41 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.5089, allocations: 113.7 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.509, allocations: 25.7 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.509, allocations: 84.09 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.509, allocations: 4 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.5091, allocations: 21.7 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5092, allocations: 310.8 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.5092, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.5093, allocations: 111.7 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.072e-05/0.5094, allocations: 26.52 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5094, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001537/0.5095, allocations: 49.62 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5096, allocations: 7.938 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5096, allocations: 0 / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.5096, allocations: 0 / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.5097, allocations: 12.09 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.5097, allocations: 0 / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.5098, allocations: 11.98 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.5098, allocations: 0 / 1.334 GB, free: 10.17 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.0001468/0.51, allocations: 189.6 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.5101, allocations: 117.1 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.337e-05/0.5101, allocations: 112.1 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.525e-05/0.5102, allocations: 180.5 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.469e-05/0.5103, allocations: 105 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.5103, allocations: 105 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.5104, allocations: 188.2 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.5105, allocations: 105 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.831e-05/0.5106, allocations: 184.2 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001341/0.5107, allocations: 255.5 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002375/0.511, allocations: 390.9 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.153e-05/0.511, allocations: 101 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.5111, allocations: 83.22 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of Backend: time 4.91e-07/0.5111, allocations: 0 / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.5121, allocations: 273.2 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006827/0.5128, allocations: 0.8441 MB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of Templates: time 0.004839/0.5177, allocations: 1.656 MB / 1.338 GB, free: 5.23 MB / 1.029 GB " [Timeout remaining time 299] 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/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: 9.707979065999098]