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.001053/0.001053, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001783/0.002835, allocations: 449.8 kB / 10.44 MB, free: 252 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.001098/0.001098, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001488/0.002586, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9916/0.9916, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0906/1.082, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.886/1.886, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5133/2.4, allocations: 123.3 MB / 0.7283 GB, free: 5.727 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.808e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003051/0.003079, allocations: 1.363 MB / 0.731 GB, free: 3.051 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002546/0.005625, allocations: 1.645 MB / 0.7326 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.00566, allocations: 4 kB / 0.7326 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.005676, allocations: 4.594 kB / 0.7326 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.005835, allocations: 21.98 kB / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.006429, allocations: 202.8 kB / 0.7328 GB, free: 1.191 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.006532, allocations: 25.78 kB / 0.7329 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.006575, allocations: 0 / 0.7329 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.006765, allocations: 34.2 kB / 0.7329 GB, free: 1.141 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.006846, allocations: 8.969 kB / 0.7329 GB, free: 1.133 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.00686, allocations: 0 / 0.7329 GB, free: 1.133 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.007205, allocations: 165.3 kB / 0.7331 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.007224, allocations: 5.047 kB / 0.7331 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.007243, allocations: 5.266 kB / 0.7331 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.007509, allocations: 139.5 kB / 0.7332 GB, free: 0.832 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.748e-05/0.007527, allocations: 0 / 0.7332 GB, free: 0.832 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.42e-07/0.007528, allocations: 1.734 kB / 0.7332 GB, free: 0.832 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.007545, allocations: 0 / 0.7332 GB, free: 0.832 MB / 0.698 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.0004216/0.007966, allocations: 291.3 kB / 0.7335 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.008006, allocations: 8.031 kB / 0.7335 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.008072, allocations: 80.22 kB / 0.7336 GB, free: 452 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.00821, allocations: 182.2 kB / 0.7337 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.008262, allocations: 154.9 kB / 0.7339 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/0.008336, allocations: 154.9 kB / 0.734 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.502e-05/0.008401, allocations: 115.2 kB / 0.7341 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.008428, allocations: 83.22 kB / 0.7342 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/0.008473, allocations: 150.6 kB / 0.7344 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.008522, allocations: 155.2 kB / 0.7345 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.008567, allocations: 151.4 kB / 0.7347 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.008781, allocations: 353.3 kB / 0.735 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.197e-05/0.008863, allocations: 169.6 kB / 0.7352 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.008894, allocations: 88.14 kB / 0.7352 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.008916, allocations: 76.97 kB / 0.7353 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.008962, allocations: 113.8 kB / 0.7354 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.008963, allocations: 0 / 0.7354 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.172e-05/0.009045, allocations: 29.7 kB / 0.7354 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.00911, allocations: 135.4 kB / 0.7356 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.009214, allocations: 118.6 kB / 0.7357 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.009229, allocations: 26.89 kB / 0.7357 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.009273, allocations: 80.14 kB / 0.7358 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.009274, allocations: 0 / 0.7358 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.009317, allocations: 25.7 kB / 0.7358 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/0.00941, allocations: 316.6 kB / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.009427, allocations: 4 kB / 0.7361 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-05/0.009486, allocations: 95.69 kB / 0.7362 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.23e-05/0.009528, allocations: 27.72 kB / 0.7362 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.00953, allocations: 0 / 0.7362 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.713e-05/0.009628, allocations: 51.41 kB / 0.7363 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.009642, allocations: 4 kB / 0.7363 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.009648, allocations: 4 kB / 0.7363 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.00966, allocations: 0.5 kB / 0.7363 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.009728, allocations: 4 kB / 0.7363 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.009735, allocations: 12.73 kB / 0.7363 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.009835, allocations: 3.984 kB / 0.7363 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.009847, allocations: 5.469 kB / 0.7363 GB, free: 13.45 MB / 0.7136 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.0001015/0.009948, allocations: 185.1 kB / 0.7365 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.01001, allocations: 109.9 kB / 0.7366 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.01006, allocations: 108.1 kB / 0.7367 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.019e-05/0.01012, allocations: 184.2 kB / 0.7369 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.725e-05/0.01018, allocations: 189.3 kB / 0.7371 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.698e-05/0.01023, allocations: 180.2 kB / 0.7372 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.01042, allocations: 321.4 kB / 0.7375 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/0.01046, allocations: 105.7 kB / 0.7376 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.0105, allocations: 108.9 kB / 0.7377 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.01053, allocations: 101.7 kB / 0.7378 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.123e-05/0.01059, allocations: 181.7 kB / 0.738 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.01064, allocations: 184.2 kB / 0.7382 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.947e-05/0.01069, allocations: 176.3 kB / 0.7384 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.864e-05/0.01075, allocations: 184.4 kB / 0.7385 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.01088, allocations: 309 kB / 0.7388 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.587e-05/0.01096, allocations: 188.2 kB / 0.739 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.01103, allocations: 105 kB / 0.7391 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.0111, allocations: 180.2 kB / 0.7393 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.01114, allocations: 102.2 kB / 0.7394 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.898e-05/0.01117, allocations: 12.84 kB / 0.7394 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01117, allocations: 0 / 0.7394 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003252/0.01149, allocations: 60.98 kB / 0.7394 GB, free: 10.07 MB / 0.7136 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.0008919/0.01238, allocations: 387.8 kB / 0.7398 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.885e-05/0.01248, allocations: 20.73 kB / 0.7398 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.01249, allocations: 0 / 0.7398 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-06/0.01249, allocations: 0 / 0.7398 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.01279, allocations: 466.7 kB / 0.7403 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.01396, allocations: 188 kB / 0.7405 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.014, allocations: 51.36 kB / 0.7405 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.01403, allocations: 4 kB / 0.7405 GB, free: 9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.01408, allocations: 55.36 kB / 0.7406 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of SimCode: time 1.162e-06/0.01408, allocations: 0 / 0.7406 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of Templates: time 0.00488/0.01896, allocations: 1.986 MB / 0.7425 GB, free: 7.105 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement/Buildings_12_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.029369033873081]