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.002216/0.002216, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002435/0.002435, allocations: 210.6 kB / 22.24 MB, free: 5.262 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.777 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.381/3.381, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.003176/0.003176, allocations: 67.88 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4893, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002989/0.4923, allocations: 1.294 MB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003172/0.4955, allocations: 1.524 MB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.4955, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.4955, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.4958, allocations: 19.92 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007615/0.4966, allocations: 210 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.4966, allocations: 27.92 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.4967, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.4968, allocations: 35.84 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.447e-05/0.4969, allocations: 4 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.4969, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.4973, allocations: 155.8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.4973, allocations: 7.922 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.4973, allocations: 8 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.4977, allocations: 143.6 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4977, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4977, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.83e-06/0.4977, allocations: 0 / 1.329 GB, free: 14.43 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.0004589/0.4981, allocations: 290 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4982, allocations: 15.97 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.514e-05/0.4983, allocations: 84.16 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.4985, allocations: 189.8 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.732e-05/0.4986, allocations: 154.9 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.011e-05/0.4986, allocations: 158.7 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.47e-05/0.4987, allocations: 101 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.4988, allocations: 75.28 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8e-05/0.4989, allocations: 150.6 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.552e-05/0.4989, allocations: 154.6 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.188e-05/0.499, allocations: 150.6 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.4994, allocations: 421.5 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.4995, allocations: 169.1 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/0.4996, allocations: 80.14 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.4996, allocations: 75.28 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.755e-05/0.4997, allocations: 109.8 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.4997, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.869e-05/0.4998, allocations: 37.62 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.4999, allocations: 130.7 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.5, allocations: 105.8 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.5001, allocations: 25.7 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.5001, allocations: 92.08 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.5001, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.5002, allocations: 17.72 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5003, allocations: 314.8 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.5003, allocations: 3.984 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.5004, allocations: 103.7 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.864e-05/0.5005, allocations: 30.5 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5005, allocations: 0 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001643/0.5007, allocations: 53.58 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5007, allocations: 5.875 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5007, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.5007, allocations: 4 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-05/0.5008, allocations: 7.984 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5008, allocations: 0 / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.5009, allocations: 8.141 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.501, allocations: 7.984 kB / 1.332 GB, free: 10.95 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.0001312/0.5011, allocations: 185.6 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.5012, allocations: 125 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.5012, allocations: 108.1 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.817e-05/0.5013, allocations: 184.2 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.487e-05/0.5014, allocations: 180.2 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-05/0.5015, allocations: 176.3 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.5017, allocations: 360.8 kB / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.586e-05/0.5018, allocations: 101 kB / 1.333 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.5018, allocations: 112.9 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-05/0.5019, allocations: 180.2 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.502, allocations: 176.3 kB / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.815e-05/0.5021, allocations: 184.2 kB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.073e-05/0.5022, allocations: 184.3 kB / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.5024, allocations: 307.7 kB / 1.334 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.5025, allocations: 109 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.5026, allocations: 184.4 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.925e-05/0.5027, allocations: 117 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.672e-05/0.5028, allocations: 180.2 kB / 1.335 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.5028, allocations: 101 kB / 1.335 GB, free: 7.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.645e-05/0.5029, allocations: 83.28 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5029, allocations: 0 / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000346/0.5032, allocations: 51.8 kB / 1.335 GB, free: 7.438 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.0007363/0.5039, allocations: 347.1 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.504, allocations: 11.94 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.504, allocations: 0 / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.504, allocations: 0 / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.5045, allocations: 461.2 kB / 1.336 GB, free: 6.664 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.5047, allocations: 169.6 kB / 1.336 GB, free: 6.473 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.5048, allocations: 63.28 kB / 1.336 GB, free: 6.391 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.5048, allocations: 12.12 kB / 1.336 GB, free: 6.379 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.5049, allocations: 7.438 kB / 1.336 GB, free: 6.371 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.5049, allocations: 0 / 1.336 GB, free: 6.371 MB / 1.029 GB Notification: Performance of Templates: time 0.004844/0.5097, allocations: 1.623 MB / 1.338 GB, free: 4.77 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/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.778053939342499]