Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001481/0.001481, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.001691/0.001691, allocations: 170.6 kB / 22.46 MB, free: 5.355 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.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.906/2.906, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.533e-05/3.748e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002946/0.002984, allocations: 1.29 MB / 0.9522 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003144/0.006128, allocations: 1.532 MB / 0.9537 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.006174, allocations: 0 / 0.9537 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.006191, allocations: 0 / 0.9537 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.006463, allocations: 19.86 kB / 0.9538 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008321/0.007295, allocations: 218.3 kB / 0.954 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.746e-05/0.007383, allocations: 27.86 kB / 0.954 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.007428, allocations: 4 kB / 0.954 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.007616, allocations: 27.97 kB / 0.954 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.007693, allocations: 4 kB / 0.954 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.00771, allocations: 0 / 0.954 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.008101, allocations: 155.7 kB / 0.9542 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.008122, allocations: 7.984 kB / 0.9542 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.008147, allocations: 4 kB / 0.9542 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.008546, allocations: 171.5 kB / 0.9544 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.008552, allocations: 0 / 0.9544 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.008553, allocations: 0 / 0.9544 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.008559, allocations: 0 / 0.9544 GB, free: 8.082 MB / 0.8575 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.0004814/0.00904, allocations: 301.9 kB / 0.9546 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.009082, allocations: 11.97 kB / 0.9547 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.209e-05/0.009174, allocations: 76.22 kB / 0.9547 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.009353, allocations: 185.1 kB / 0.9549 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.77e-05/0.009441, allocations: 154.9 kB / 0.955 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/0.009522, allocations: 154.9 kB / 0.9552 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.763e-05/0.00961, allocations: 109.5 kB / 0.9553 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.009653, allocations: 79.22 kB / 0.9554 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/0.009728, allocations: 150.6 kB / 0.9555 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-05/0.009805, allocations: 150.6 kB / 0.9557 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.009879, allocations: 154.5 kB / 0.9558 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.01022, allocations: 413.6 kB / 0.9562 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.01035, allocations: 173.1 kB / 0.9564 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.01039, allocations: 80.14 kB / 0.9564 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.653e-05/0.01044, allocations: 79.28 kB / 0.9565 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.763e-05/0.0105, allocations: 105.8 kB / 0.9566 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.0105, allocations: 0 / 0.9566 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001037/0.0106, allocations: 41.58 kB / 0.9567 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.01069, allocations: 126.7 kB / 0.9568 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.01081, allocations: 101.9 kB / 0.9569 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.01085, allocations: 29.69 kB / 0.9569 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.01091, allocations: 92.08 kB / 0.957 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.01091, allocations: 0 / 0.957 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.01096, allocations: 21.72 kB / 0.957 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.01111, allocations: 310.8 kB / 0.9573 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/0.01113, allocations: 8.234 kB / 0.9573 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.01123, allocations: 99.69 kB / 0.9574 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.01129, allocations: 34.5 kB / 0.9575 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01129, allocations: 0 / 0.9575 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001512/0.01144, allocations: 49.64 kB / 0.9575 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.01146, allocations: 8 kB / 0.9575 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01146, allocations: 0 / 0.9575 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.01149, allocations: 4.078 kB / 0.9575 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.01156, allocations: 7.984 kB / 0.9575 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.01157, allocations: 4 kB / 0.9575 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.01172, allocations: 4 kB / 0.9575 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.01174, allocations: 11.91 kB / 0.9575 GB, free: 4.602 MB / 0.8575 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.0001274/0.01187, allocations: 189.2 kB / 0.9577 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.01195, allocations: 108.9 kB / 0.9578 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.901e-05/0.01201, allocations: 108.1 kB / 0.9579 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.463e-05/0.01209, allocations: 180.2 kB / 0.9581 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.121e-05/0.01218, allocations: 192.2 kB / 0.9583 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-05/0.01227, allocations: 176.3 kB / 0.9584 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.01253, allocations: 352.8 kB / 0.9588 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.914e-05/0.01258, allocations: 105 kB / 0.9589 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.01263, allocations: 105 kB / 0.959 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-05/0.01272, allocations: 184.2 kB / 0.9592 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.441e-05/0.0128, allocations: 176.3 kB / 0.9593 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.458e-05/0.01289, allocations: 188.2 kB / 0.9595 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.961e-05/0.01298, allocations: 184.2 kB / 0.9597 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.01315, allocations: 311.7 kB / 0.96 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.01321, allocations: 105 kB / 0.9601 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.01331, allocations: 188.1 kB / 0.9603 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.01339, allocations: 105 kB / 0.9604 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/0.01349, allocations: 184.2 kB / 0.9605 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.01353, allocations: 104.9 kB / 0.9606 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.058e-05/0.01359, allocations: 83.28 kB / 0.9607 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01359, allocations: 0 / 0.9607 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003428/0.01394, allocations: 51.8 kB / 0.9608 GB, free: 1.105 MB / 0.8575 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.000779/0.01472, allocations: 366.5 kB / 0.9611 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.01482, allocations: 19.92 kB / 0.9611 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01482, allocations: 0 / 0.9611 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.01482, allocations: 0 / 0.9611 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.01525, allocations: 455.7 kB / 0.9616 GB, free: 324 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.01558, allocations: 168.2 kB / 0.9617 GB, free: 128 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.01566, allocations: 59.53 kB / 0.9618 GB, free: 48 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.01568, allocations: 4 kB / 0.9618 GB, free: 44 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.01571, allocations: 12.5 kB / 0.9618 GB, free: 32 kB / 0.8575 GB Notification: Performance of SimCode: time 5.41e-07/0.01571, allocations: 0 / 0.9618 GB, free: 32 kB / 0.8575 GB Notification: Performance of Templates: time 0.005189/0.0209, allocations: 1.646 MB / 0.9634 GB, free: 14.41 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.108056895434856]