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.001217/0.001217, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001548/0.002765, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007309/0.0007309, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009675/0.001698, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.046/1.046, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09913/1.145, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.358/2.358, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2329/2.59, allocations: 145.9 MB / 0.817 GB, free: 4.219 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 2.214e-06/2.214e-06, allocations: 0 / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.641e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002208/0.002225, allocations: 1.366 MB / 0.8196 GB, free: 1.512 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.004252, allocations: 1.617 MB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.004281, allocations: 4 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.418e-06/0.00429, allocations: 7.938 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.727e-05/0.004377, allocations: 11.98 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.004887, allocations: 207.2 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.205e-05/0.004959, allocations: 19.94 kB / 0.8215 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.004994, allocations: 0 / 0.8215 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.005134, allocations: 43.83 kB / 0.8215 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.91e-05/0.005194, allocations: 4 kB / 0.8215 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.005205, allocations: 0 / 0.8215 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.005493, allocations: 171.7 kB / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.005506, allocations: 4 kB / 0.8217 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.005522, allocations: 4 kB / 0.8217 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.005765, allocations: 139.6 kB / 0.8218 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.599e-05/0.005781, allocations: 0 / 0.8218 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005781, allocations: 0 / 0.8218 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.005801, allocations: 0 / 0.8218 GB, free: 15.28 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.0006256/0.006426, allocations: 296.2 kB / 0.8221 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.006463, allocations: 12.61 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.006516, allocations: 80.22 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.006632, allocations: 181 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-05/0.006718, allocations: 154.9 kB / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.00678, allocations: 154.9 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.048e-05/0.00683, allocations: 105.5 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.006852, allocations: 83.22 kB / 0.8228 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.006887, allocations: 150.6 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.00692, allocations: 150.6 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.00696, allocations: 158.5 kB / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.007127, allocations: 357.3 kB / 0.8236 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.059e-05/0.007198, allocations: 169.1 kB / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.007221, allocations: 84.14 kB / 0.8239 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.007248, allocations: 79.28 kB / 0.8239 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.007288, allocations: 105.8 kB / 0.824 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.007289, allocations: 0 / 0.824 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.237e-05/0.007352, allocations: 29.7 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.007405, allocations: 130.6 kB / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.007501, allocations: 114.6 kB / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.007513, allocations: 29.7 kB / 0.8243 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.007547, allocations: 92.06 kB / 0.8244 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.007549, allocations: 0 / 0.8244 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.00759, allocations: 21.7 kB / 0.8244 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.007664, allocations: 314.8 kB / 0.8247 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.007675, allocations: 0 / 0.8247 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.217e-05/0.007727, allocations: 103.7 kB / 0.8248 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.406e-05/0.007761, allocations: 26.5 kB / 0.8249 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007764, allocations: 0 / 0.8249 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.963e-05/0.007843, allocations: 53.62 kB / 0.8249 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.007857, allocations: 4 kB / 0.8249 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.007863, allocations: 0 / 0.8249 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.007873, allocations: 4 kB / 0.8249 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.007945, allocations: 7.984 kB / 0.8249 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.007949, allocations: 3.938 kB / 0.8249 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.008038, allocations: 4 kB / 0.8249 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.008047, allocations: 4 kB / 0.8249 GB, free: 11.89 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 6.818e-05/0.008116, allocations: 185.1 kB / 0.8251 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.008157, allocations: 121 kB / 0.8252 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.008194, allocations: 108.1 kB / 0.8253 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-05/0.008235, allocations: 176.3 kB / 0.8255 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.282e-05/0.008278, allocations: 188.4 kB / 0.8257 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.815e-05/0.008326, allocations: 184.2 kB / 0.8258 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.008456, allocations: 321.4 kB / 0.8262 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/0.00848, allocations: 101.1 kB / 0.8263 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.008513, allocations: 109 kB / 0.8264 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.008549, allocations: 112.9 kB / 0.8265 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.243e-05/0.008591, allocations: 176.3 kB / 0.8266 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.008636, allocations: 184.2 kB / 0.8268 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.337e-05/0.00868, allocations: 184.2 kB / 0.827 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.221e-05/0.008722, allocations: 176.3 kB / 0.8271 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.008824, allocations: 311.7 kB / 0.8274 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.008877, allocations: 184.2 kB / 0.8276 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.741e-05/0.008924, allocations: 101 kB / 0.8277 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.008969, allocations: 184.2 kB / 0.8279 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.008997, allocations: 105 kB / 0.828 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.101e-05/0.009018, allocations: 8.859 kB / 0.828 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.009018, allocations: 0 / 0.828 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002171/0.009235, allocations: 59.73 kB / 0.8281 GB, free: 8.504 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.0005747/0.00981, allocations: 400.2 kB / 0.8284 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.48e-05/0.009885, allocations: 20.78 kB / 0.8285 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.00989, allocations: 0 / 0.8285 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.009891, allocations: 0 / 0.8285 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.01009, allocations: 467.7 kB / 0.8289 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008099/0.0109, allocations: 184.3 kB / 0.8291 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.025e-05/0.01093, allocations: 55.34 kB / 0.8291 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.01095, allocations: 4 kB / 0.8291 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.01099, allocations: 51.38 kB / 0.8292 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of SimCode: time 1.092e-06/0.011, allocations: 0 / 0.8292 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of Templates: time 0.003337/0.01433, allocations: 1.938 MB / 0.8311 GB, free: 5.445 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2842816626653075]