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.001837/0.001837, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.002162/0.002162, allocations: 159.6 kB / 23.01 MB, free: 4.949 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.453/1.453, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.898/2.898, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002483/0.002483, allocations: 75.83 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9695/0.972, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002922/0.9749, allocations: 1.292 MB / 1.188 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002565/0.9775, allocations: 1.535 MB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.9775, allocations: 0.8438 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.9775, allocations: 4.734 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.9778, allocations: 14.12 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008202/0.9786, allocations: 225 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.811e-05/0.9787, allocations: 19.33 kB / 1.19 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.9787, allocations: 1.781 kB / 1.19 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.9789, allocations: 26.38 kB / 1.19 GB, free: 14.18 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.979, allocations: 14.47 kB / 1.19 GB, free: 14.17 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.979, allocations: 1.5 kB / 1.19 GB, free: 14.17 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.9794, allocations: 151.4 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.9794, allocations: 6.5 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.9794, allocations: 4.375 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.9798, allocations: 140.1 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.9798, allocations: 1.281 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9798, allocations: 0 / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.9798, allocations: 0 / 1.19 GB, free: 14.09 MB / 1.076 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.0003919/0.9802, allocations: 300.3 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.9802, allocations: 10.8 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.9803, allocations: 81.47 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.9804, allocations: 189.9 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.9804, allocations: 153.5 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.9805, allocations: 161.8 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.653e-05/0.9805, allocations: 102.3 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.9805, allocations: 80.59 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.9806, allocations: 151.2 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.9806, allocations: 151.8 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.683e-05/0.9806, allocations: 151.9 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.9808, allocations: 401.7 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.132e-05/0.9809, allocations: 175.2 kB / 1.192 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.9809, allocations: 85.52 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.9809, allocations: 75.28 kB / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.9809, allocations: 112.8 kB / 1.192 GB, free: 11.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.9809, allocations: 0 / 1.192 GB, free: 11.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.988e-05/0.981, allocations: 28.88 kB / 1.192 GB, free: 11.67 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.981, allocations: 128.5 kB / 1.192 GB, free: 11.53 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.9811, allocations: 102.8 kB / 1.192 GB, free: 11.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.9811, allocations: 27.02 kB / 1.193 GB, free: 11.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.9811, allocations: 86.16 kB / 1.193 GB, free: 11.31 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.9811, allocations: 0 / 1.193 GB, free: 11.31 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.9812, allocations: 22.58 kB / 1.193 GB, free: 11.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.9812, allocations: 320.4 kB / 1.193 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.9812, allocations: 7.359 kB / 1.193 GB, free: 10.97 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.9813, allocations: 104.9 kB / 1.193 GB, free: 10.85 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.9813, allocations: 22.08 kB / 1.193 GB, free: 10.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.9813, allocations: 0 / 1.193 GB, free: 10.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000133/0.9815, allocations: 53.88 kB / 1.193 GB, free: 10.78 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.9815, allocations: 10.25 kB / 1.193 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.9815, allocations: 0 / 1.193 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.9815, allocations: 6.094 kB / 1.193 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.599e-05/0.9816, allocations: 9.812 kB / 1.193 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.9816, allocations: 1.219 kB / 1.193 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.9817, allocations: 9.453 kB / 1.193 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.9818, allocations: 4.312 kB / 1.193 GB, free: 10.77 MB / 1.076 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 5.843e-05/0.9818, allocations: 188.2 kB / 1.193 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.9819, allocations: 108 kB / 1.193 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.9819, allocations: 118.5 kB / 1.194 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/0.9819, allocations: 178 kB / 1.194 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.922e-05/0.9819, allocations: 182.6 kB / 1.194 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.982, allocations: 187.2 kB / 1.194 GB, free: 9.789 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.9821, allocations: 350.5 kB / 1.194 GB, free: 9.414 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.9821, allocations: 106.9 kB / 1.194 GB, free: 9.305 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.9821, allocations: 106.8 kB / 1.195 GB, free: 9.195 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.812e-05/0.9822, allocations: 189.9 kB / 1.195 GB, free: 9.004 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.9822, allocations: 178 kB / 1.195 GB, free: 8.824 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-05/0.9822, allocations: 178 kB / 1.195 GB, free: 8.645 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.651e-05/0.9822, allocations: 183 kB / 1.195 GB, free: 8.461 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.334e-05/0.9823, allocations: 310.4 kB / 1.196 GB, free: 8.141 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.9823, allocations: 104.2 kB / 1.196 GB, free: 8.035 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.9824, allocations: 186.8 kB / 1.196 GB, free: 7.848 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.798e-05/0.9824, allocations: 106.8 kB / 1.196 GB, free: 7.738 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.9825, allocations: 179 kB / 1.196 GB, free: 7.559 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.9825, allocations: 110.8 kB / 1.196 GB, free: 7.445 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.023e-05/0.9825, allocations: 81.16 kB / 1.196 GB, free: 7.371 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9825, allocations: 0 / 1.196 GB, free: 7.371 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003597/0.9829, allocations: 57.33 kB / 1.196 GB, free: 7.352 MB / 1.076 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.0006413/0.9835, allocations: 345.4 kB / 1.197 GB, free: 7.137 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.885e-05/0.9836, allocations: 15.67 kB / 1.197 GB, free: 7.129 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9836, allocations: 0 / 1.197 GB, free: 7.129 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-06/0.9836, allocations: 3.938 kB / 1.197 GB, free: 7.125 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.9839, allocations: 455.7 kB / 1.197 GB, free: 6.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.9841, allocations: 175.3 kB / 1.197 GB, free: 6.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.924e-05/0.9842, allocations: 61.45 kB / 1.197 GB, free: 6.426 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.598e-05/0.9842, allocations: 5.375 kB / 1.197 GB, free: 6.422 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.9842, allocations: 14.41 kB / 1.197 GB, free: 6.41 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.9842, allocations: 1 kB / 1.197 GB, free: 6.41 MB / 1.076 GB Notification: Performance of Templates: time 0.005315/0.9895, allocations: 1.621 MB / 1.199 GB, free: 6.211 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.938509579980746]