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.001339/0.001339, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001443/0.001443, allocations: 207.2 kB / 22.99 MB, free: 4.957 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.524/1.524, 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.29/3.29, allocations: 0.49 GB / 0.7959 GB, free: 35.23 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.002067/0.002067, allocations: 76.7 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4069, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002747/0.4096, allocations: 1.285 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.4122, allocations: 1.52 MB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.4122, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.4123, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.4125, allocations: 19.94 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.4131, allocations: 219.2 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.463e-05/0.4132, allocations: 23.94 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.4133, allocations: 3.984 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.4134, allocations: 27.92 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.4135, allocations: 11.92 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.4135, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003416/0.4139, allocations: 163.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.4139, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.4139, allocations: 7.984 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.4142, allocations: 143.6 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4142, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4142, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.4142, allocations: 0 / 1.33 GB, free: 13.51 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.0005024/0.4147, allocations: 297.9 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4147, allocations: 12.03 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/0.4148, allocations: 76.22 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.415, allocations: 185.8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/0.4151, allocations: 158.9 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.491e-05/0.4152, allocations: 158.7 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.683e-05/0.4153, allocations: 101 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-05/0.4153, allocations: 75.28 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-05/0.4154, allocations: 158.5 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.691e-05/0.4155, allocations: 150.6 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.799e-05/0.4155, allocations: 150.6 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.4159, allocations: 417.5 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.416, allocations: 165.1 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.583e-05/0.4161, allocations: 84.12 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.4161, allocations: 75.28 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.763e-05/0.4162, allocations: 113.8 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.4162, allocations: 0 / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.502e-05/0.4162, allocations: 33.58 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.4163, allocations: 134.7 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4165, allocations: 109.7 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.4165, allocations: 25.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.4165, allocations: 92.09 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.4165, allocations: 0 / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.4166, allocations: 21.72 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4167, allocations: 314.8 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.4167, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.4169, allocations: 107.7 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.349e-05/0.4169, allocations: 30.52 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4169, allocations: 0 / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001349/0.417, allocations: 53.56 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4171, allocations: 4 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.4171, allocations: 7.984 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4171, allocations: 0 / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.4172, allocations: 4 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.4172, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.4173, allocations: 11.98 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.4174, allocations: 4 kB / 1.334 GB, free: 10.03 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.0001357/0.4175, allocations: 185.7 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.854e-05/0.4176, allocations: 117 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.263e-05/0.4176, allocations: 108.1 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.793e-05/0.4177, allocations: 188.2 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-05/0.4178, allocations: 176.3 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.129e-05/0.4179, allocations: 180.4 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.4182, allocations: 356.8 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.712e-05/0.4182, allocations: 105.2 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.4183, allocations: 108.9 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-05/0.4184, allocations: 184.2 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.56e-05/0.4185, allocations: 180.3 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.519e-05/0.4186, allocations: 180.2 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001029/0.4187, allocations: 188.2 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.4189, allocations: 307.7 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.419, allocations: 104.9 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.4191, allocations: 192.2 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4192, allocations: 105 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4193, allocations: 180.2 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/0.4194, allocations: 108.9 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.009e-05/0.4194, allocations: 87.27 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4194, allocations: 0 / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003939/0.4198, allocations: 43.81 kB / 1.337 GB, free: 6.52 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.000787/0.4206, allocations: 347.4 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.4207, allocations: 15.92 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4207, allocations: 0 / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.4207, allocations: 0 / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.4212, allocations: 463.6 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.4215, allocations: 169.5 kB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.241e-05/0.4216, allocations: 59.53 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.4216, allocations: 8 kB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.4217, allocations: 7.438 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4217, allocations: 3.938 kB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of Templates: time 0.005002/0.4267, allocations: 1.639 MB / 1.339 GB, free: 3.832 MB / 1.029 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=400 -s cvode -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.503807674002019]