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.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.001398/0.001398, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001489/0.001489, allocations: 193.5 kB / 22.17 MB, free: 5.652 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.492/1.492, allocations: 225.6 MB / 250.9 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.037/3.037, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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 0.002773/0.002773, allocations: 68.27 kB / 1.109 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3921, allocations: 168.7 MB / 1.274 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002796/0.3949, allocations: 1.265 MB / 1.275 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.3975, allocations: 1.548 MB / 1.277 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.3976, allocations: 0 / 1.277 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.3976, allocations: 0 / 1.277 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.3978, allocations: 19.91 kB / 1.277 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008206/0.3986, allocations: 221.5 kB / 1.277 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.645e-05/0.3987, allocations: 23.92 kB / 1.277 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.3988, allocations: 0 / 1.277 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.3989, allocations: 23.97 kB / 1.277 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.399, allocations: 11.94 kB / 1.277 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.399, allocations: 0 / 1.277 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003704/0.3994, allocations: 171.8 kB / 1.277 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.3994, allocations: 0 / 1.277 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.3994, allocations: 11.94 kB / 1.277 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.3998, allocations: 151.6 kB / 1.277 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3998, allocations: 0 / 1.277 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3998, allocations: 0 / 1.277 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3998, allocations: 0 / 1.277 GB, free: 7.785 MB / 0.9825 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.0005062/0.4003, allocations: 375.1 kB / 1.278 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4003, allocations: 8.031 kB / 1.278 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.693e-05/0.4004, allocations: 80.22 kB / 1.278 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.4006, allocations: 247.5 kB / 1.278 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.629e-05/0.4007, allocations: 150.9 kB / 1.278 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-05/0.4008, allocations: 162.7 kB / 1.278 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.468e-05/0.4009, allocations: 105 kB / 1.278 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.4009, allocations: 75.28 kB / 1.279 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.284e-05/0.401, allocations: 150.6 kB / 1.279 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.208e-05/0.4011, allocations: 154.6 kB / 1.279 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.116e-05/0.4012, allocations: 154.5 kB / 1.279 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.4016, allocations: 461.8 kB / 1.279 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.4017, allocations: 173.1 kB / 1.28 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.4018, allocations: 88.08 kB / 1.28 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.421e-05/0.4018, allocations: 75.28 kB / 1.28 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/0.4019, allocations: 113.8 kB / 1.28 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.4019, allocations: 4 kB / 1.28 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.747e-05/0.402, allocations: 33.58 kB / 1.28 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/0.4021, allocations: 126.7 kB / 1.28 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.4022, allocations: 105.8 kB / 1.28 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.4023, allocations: 25.7 kB / 1.28 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.4023, allocations: 88.14 kB / 1.28 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-06/0.4023, allocations: 0 / 1.28 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.4024, allocations: 25.7 kB / 1.28 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4026, allocations: 310.8 kB / 1.281 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.4026, allocations: 4 kB / 1.281 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.4026, allocations: 26.56 kB / 1.281 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.799e-05/0.4027, allocations: 26.52 kB / 1.281 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4027, allocations: 4 kB / 1.281 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000153/0.4028, allocations: 53.56 kB / 1.281 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4029, allocations: 4 kB / 1.281 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4029, allocations: 4 kB / 1.281 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4029, allocations: 0 / 1.281 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.403, allocations: 4 kB / 1.281 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.403, allocations: 0 / 1.281 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.4031, allocations: 11.94 kB / 1.281 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.4032, allocations: 8.094 kB / 1.281 GB, free: 4.168 MB / 0.9825 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.0001412/0.4033, allocations: 193.1 kB / 1.281 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.4034, allocations: 104.9 kB / 1.281 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.4034, allocations: 104.1 kB / 1.281 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/0.4035, allocations: 188.2 kB / 1.281 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.189e-05/0.4036, allocations: 180.3 kB / 1.281 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.775e-05/0.4037, allocations: 188.2 kB / 1.282 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.4041, allocations: 405.2 kB / 1.282 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.15e-05/0.4041, allocations: 101 kB / 1.282 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.4042, allocations: 104.9 kB / 1.282 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.4043, allocations: 188.3 kB / 1.282 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.4044, allocations: 184.2 kB / 1.283 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.057e-05/0.4045, allocations: 180.2 kB / 1.283 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-05/0.4046, allocations: 176.3 kB / 1.283 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.4048, allocations: 311.7 kB / 1.283 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.4049, allocations: 194 kB / 1.283 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.405, allocations: 176.3 kB / 1.284 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.4051, allocations: 101.2 kB / 1.284 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.4052, allocations: 180.2 kB / 1.284 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/0.4053, allocations: 113 kB / 1.284 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.913e-05/0.4053, allocations: 83.27 kB / 1.284 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4053, allocations: 0 / 1.284 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003911/0.4057, allocations: 55.8 kB / 1.284 GB, free: 0.5117 MB / 0.9825 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.0007269/0.4064, allocations: 343.6 kB / 1.284 GB, free: 212 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.4065, allocations: 11.94 kB / 1.284 GB, free: 200 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.4065, allocations: 4 kB / 1.284 GB, free: 196 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.4065, allocations: 4 kB / 1.284 GB, free: 192 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.407, allocations: 459.8 kB / 1.285 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.4073, allocations: 189.2 kB / 1.285 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.4077, allocations: 0.6729 MB / 1.286 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.4077, allocations: 0 / 1.286 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.4077, allocations: 7.438 kB / 1.286 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.4077, allocations: 0 / 1.286 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of Templates: time 0.02841/0.4361, allocations: 1.615 MB / 1.287 GB, free: 13.22 MB / 0.9981 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.37233089376241]