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.00108/0.00108, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001586/0.002666, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001034/0.001034, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002423, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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 0.99/0.99, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0844/1.074, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.335/2.335, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2468/2.582, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.284e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001503/0.001516, allocations: 1.368 MB / 0.8203 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.002958, allocations: 1.625 MB / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.002982, allocations: 0 / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.853e-06/0.002989, allocations: 8 kB / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.003057, allocations: 19.84 kB / 0.8219 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.003495, allocations: 195.3 kB / 0.8221 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.856e-05/0.003553, allocations: 27.86 kB / 0.8221 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.911e-05/0.003582, allocations: 0 / 0.8221 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.003689, allocations: 35.91 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.003737, allocations: 15.86 kB / 0.8222 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.003747, allocations: 0 / 0.8222 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.003952, allocations: 159.8 kB / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.003965, allocations: 4 kB / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.212e-05/0.003977, allocations: 4 kB / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.004147, allocations: 143.5 kB / 0.8225 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.004156, allocations: 0 / 0.8225 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004157, allocations: 0 / 0.8225 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.004168, allocations: 0 / 0.8225 GB, free: 14.85 MB / 0.8073 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.0002977/0.004466, allocations: 300.2 kB / 0.8227 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.004495, allocations: 8.031 kB / 0.8227 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.004537, allocations: 80.22 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.564e-05/0.004633, allocations: 185 kB / 0.823 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.004669, allocations: 158.9 kB / 0.8231 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.004707, allocations: 154.9 kB / 0.8233 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.111e-05/0.004748, allocations: 101.5 kB / 0.8234 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.004768, allocations: 79.22 kB / 0.8235 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.0048, allocations: 150.6 kB / 0.8236 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.004835, allocations: 158.6 kB / 0.8238 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.004863, allocations: 154.6 kB / 0.8239 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.005005, allocations: 361.2 kB / 0.8243 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.677e-05/0.005061, allocations: 165.1 kB / 0.8244 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.005084, allocations: 84.14 kB / 0.8245 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.005103, allocations: 79.27 kB / 0.8246 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.005137, allocations: 109.8 kB / 0.8247 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.005138, allocations: 0 / 0.8247 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.314e-05/0.005191, allocations: 33.64 kB / 0.8247 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.005235, allocations: 130.6 kB / 0.8248 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.005314, allocations: 118.6 kB / 0.8249 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.005325, allocations: 25.7 kB / 0.825 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.005352, allocations: 84.14 kB / 0.825 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-06/0.005353, allocations: 0 / 0.825 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.005384, allocations: 29.69 kB / 0.8251 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.005451, allocations: 314.8 kB / 0.8254 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/0.00546, allocations: 0 / 0.8254 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.5e-05/0.005505, allocations: 103.7 kB / 0.8255 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.005535, allocations: 22.52 kB / 0.8255 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.005537, allocations: 0 / 0.8255 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.771e-05/0.005605, allocations: 53.62 kB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.005616, allocations: 4 kB / 0.8256 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.005621, allocations: 4 kB / 0.8256 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.005631, allocations: 0 / 0.8256 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.906e-05/0.00568, allocations: 4 kB / 0.8256 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-06/0.005684, allocations: 3.938 kB / 0.8256 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/0.005755, allocations: 7.984 kB / 0.8256 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.005763, allocations: 4 kB / 0.8256 GB, free: 11.45 MB / 0.8073 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.0001983/0.005961, allocations: 193 kB / 0.8258 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.005992, allocations: 109.1 kB / 0.8259 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.006024, allocations: 112.1 kB / 0.826 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/0.006058, allocations: 184.3 kB / 0.8261 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.511e-05/0.006093, allocations: 188.2 kB / 0.8263 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.681e-05/0.00613, allocations: 180.2 kB / 0.8265 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.006237, allocations: 317.4 kB / 0.8268 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-05/0.006263, allocations: 101 kB / 0.8269 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.006284, allocations: 108.9 kB / 0.827 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.006312, allocations: 105 kB / 0.8271 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.588e-05/0.006348, allocations: 188.2 kB / 0.8273 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.006381, allocations: 184.2 kB / 0.8275 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-05/0.006412, allocations: 176.5 kB / 0.8276 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.391e-05/0.006446, allocations: 184.2 kB / 0.8278 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.409e-05/0.00652, allocations: 311.7 kB / 0.8281 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.006558, allocations: 180.3 kB / 0.8283 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.006602, allocations: 109 kB / 0.8284 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.00664, allocations: 180.2 kB / 0.8285 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.006661, allocations: 101 kB / 0.8286 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.344e-05/0.006675, allocations: 12.84 kB / 0.8287 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006675, allocations: 0 / 0.8287 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001734/0.006848, allocations: 59.69 kB / 0.8287 GB, free: 8.062 MB / 0.8073 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.0004906/0.007339, allocations: 391.1 kB / 0.8291 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.794e-05/0.007397, allocations: 24.78 kB / 0.8291 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.0074, allocations: 0 / 0.8291 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.935e-06/0.007403, allocations: 3.938 kB / 0.8291 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.00757, allocations: 466.1 kB / 0.8296 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/0.008283, allocations: 184.4 kB / 0.8297 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.382e-05/0.008306, allocations: 51.36 kB / 0.8298 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.008326, allocations: 7.938 kB / 0.8298 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.008357, allocations: 55.36 kB / 0.8298 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.008357, allocations: 0 / 0.8298 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of Templates: time 0.002791/0.01115, allocations: 1.982 MB / 0.8318 GB, free: 4.957 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.109289115294814]