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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 192.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.297/3.297, allocations: 495.7 MB / 0.7831 GB, free: 33.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002095/0.002095, allocations: 73.78 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3873, allocations: 173.6 MB / 1.307 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002882/0.3902, allocations: 1.281 MB / 1.308 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002716/0.3929, allocations: 1.547 MB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.393, allocations: 4 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.393, allocations: 0 / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.3932, allocations: 23.91 kB / 1.31 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.3939, allocations: 220.5 kB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.32e-05/0.394, allocations: 27.92 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.394, allocations: 0 / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.262e-05/0.3941, allocations: 19.94 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3942, allocations: 15.91 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.3942, allocations: 0 / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000381/0.3946, allocations: 171.8 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.3946, allocations: 3.984 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.3947, allocations: 4 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.395, allocations: 151.6 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.395, allocations: 0 / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 8.92e-07/0.395, allocations: 4 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.395, allocations: 3.938 kB / 1.31 GB, free: 14.46 MB / 1.014 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.0004352/0.3954, allocations: 301.9 kB / 1.311 GB, free: 14.13 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3955, allocations: 8.031 kB / 1.311 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.291e-05/0.3955, allocations: 80.22 kB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.3957, allocations: 185.8 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.3958, allocations: 150.9 kB / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.245e-05/0.3959, allocations: 170.7 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.112e-05/0.3959, allocations: 104.9 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.396, allocations: 75.28 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.3961, allocations: 150.6 kB / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.552e-05/0.3961, allocations: 150.6 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.117e-05/0.3962, allocations: 150.6 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.3966, allocations: 425 kB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3967, allocations: 177.1 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.3967, allocations: 88.08 kB / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.439e-05/0.3968, allocations: 75.28 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/0.3968, allocations: 109.8 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3968, allocations: 3.938 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.706e-05/0.3969, allocations: 29.7 kB / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.397, allocations: 130.7 kB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3971, allocations: 105.8 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3971, allocations: 25.7 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.3972, allocations: 84.14 kB / 1.313 GB, free: 11.56 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.3972, allocations: 4 kB / 1.313 GB, free: 11.56 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.3972, allocations: 25.7 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3974, allocations: 310.8 kB / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.3974, allocations: 0 / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.3975, allocations: 30.56 kB / 1.313 GB, free: 11.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.197e-05/0.3975, allocations: 26.52 kB / 1.313 GB, free: 11.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3975, allocations: 0 / 1.313 GB, free: 11.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001378/0.3977, allocations: 57.56 kB / 1.313 GB, free: 11.08 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3977, allocations: 4 kB / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3977, allocations: 0 / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3977, allocations: 4 kB / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.3978, allocations: 4 kB / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3978, allocations: 3.984 kB / 1.313 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.3979, allocations: 12.05 kB / 1.313 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.3979, allocations: 8 kB / 1.313 GB, free: 11.04 MB / 1.014 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.0002297/0.3982, allocations: 181.1 kB / 1.314 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.961e-05/0.3983, allocations: 116.8 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.423e-05/0.3983, allocations: 104.1 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001062/0.3984, allocations: 180.3 kB / 1.314 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.032e-05/0.3985, allocations: 192.2 kB / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.298e-05/0.3986, allocations: 180.2 kB / 1.314 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.3989, allocations: 384.4 kB / 1.315 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.613e-05/0.399, allocations: 105 kB / 1.315 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.399, allocations: 101 kB / 1.315 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.082e-05/0.3991, allocations: 188.2 kB / 1.315 GB, free: 9.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/0.3992, allocations: 180.3 kB / 1.315 GB, free: 9.047 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.896e-05/0.3993, allocations: 180.2 kB / 1.315 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.952e-05/0.3994, allocations: 176.3 kB / 1.316 GB, free: 8.684 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.3995, allocations: 315.8 kB / 1.316 GB, free: 8.352 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.3996, allocations: 108.9 kB / 1.316 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.6e-05/0.3997, allocations: 184.2 kB / 1.316 GB, free: 8.051 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.174e-05/0.3998, allocations: 105 kB / 1.316 GB, free: 7.941 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.3999, allocations: 180.2 kB / 1.316 GB, free: 7.758 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.3999, allocations: 108.9 kB / 1.317 GB, free: 7.645 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.287e-05/0.4, allocations: 87.28 kB / 1.317 GB, free: 7.559 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4, allocations: 0 / 1.317 GB, free: 7.559 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003621/0.4003, allocations: 51.8 kB / 1.317 GB, free: 7.508 MB / 1.014 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.0007188/0.401, allocations: 335.3 kB / 1.317 GB, free: 7.207 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.267e-05/0.4011, allocations: 11.94 kB / 1.317 GB, free: 7.195 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4011, allocations: 0 / 1.317 GB, free: 7.195 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.4011, allocations: 4.125 kB / 1.317 GB, free: 7.191 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.4016, allocations: 471.6 kB / 1.318 GB, free: 6.727 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.4019, allocations: 165.4 kB / 1.318 GB, free: 6.539 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.4023, allocations: 0.6768 MB / 1.318 GB, free: 5.836 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.4023, allocations: 3.938 kB / 1.318 GB, free: 5.832 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.4024, allocations: 15.44 kB / 1.318 GB, free: 5.816 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.4024, allocations: 0 / 1.318 GB, free: 5.816 MB / 1.014 GB Notification: Performance of Templates: time 0.004995/0.4074, allocations: 1.61 MB / 1.32 GB, free: 4.223 MB / 1.014 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=800 -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/jenkins/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: 9.380829359404743]