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.001638/0.001638, allocations: 80.84 kB / 19.18 MB, free: 2.516 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.001976/0.001976, allocations: 166.2 kB / 22.46 MB, free: 5.375 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.545/1.545, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.929/2.929, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 1 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.622e-05/3.892e-05, allocations: 4.953 kB / 1 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003018/0.003057, allocations: 1.296 MB / 1.001 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.00611, allocations: 1.547 MB / 1.003 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.006165, allocations: 0 / 1.003 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.006185, allocations: 0 / 1.003 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.006469, allocations: 19.91 kB / 1.003 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007784/0.007247, allocations: 220.5 kB / 1.003 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.064e-05/0.007338, allocations: 23.86 kB / 1.003 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.007391, allocations: 7.984 kB / 1.003 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.007569, allocations: 27.98 kB / 1.003 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.624e-05/0.007646, allocations: 3.984 kB / 1.003 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.007666, allocations: 4 kB / 1.003 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.008038, allocations: 151.7 kB / 1.003 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.008059, allocations: 11.97 kB / 1.003 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.008084, allocations: 4 kB / 1.003 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.008455, allocations: 167.5 kB / 1.004 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.00846, allocations: 0 / 1.004 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.403e-06/0.008462, allocations: 0 / 1.004 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.008466, allocations: 0 / 1.004 GB, free: 2.719 MB / 0.9044 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.0004622/0.008928, allocations: 294 kB / 1.004 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.008977, allocations: 16.03 kB / 1.004 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.206e-05/0.009069, allocations: 76.22 kB / 1.004 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.009272, allocations: 185 kB / 1.004 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.701e-05/0.009359, allocations: 154.9 kB / 1.004 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.65e-05/0.009445, allocations: 162.9 kB / 1.004 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.121e-05/0.009537, allocations: 105.5 kB / 1.004 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.9e-05/0.009586, allocations: 87.16 kB / 1.005 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.009668, allocations: 150.6 kB / 1.005 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.584e-05/0.009734, allocations: 150.6 kB / 1.005 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.548e-05/0.009809, allocations: 154.5 kB / 1.005 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.01015, allocations: 413.6 kB / 1.005 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.01027, allocations: 169.1 kB / 1.006 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.01032, allocations: 84.14 kB / 1.006 GB, free: 464 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.01035, allocations: 75.28 kB / 1.006 GB, free: 388 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.545e-05/0.01042, allocations: 109.8 kB / 1.006 GB, free: 268 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.01042, allocations: 0 / 1.006 GB, free: 268 kB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001058/0.01053, allocations: 33.62 kB / 1.006 GB, free: 228 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/0.01062, allocations: 130.7 kB / 1.006 GB, free: 84 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.01076, allocations: 97.86 kB / 1.006 GB, free: 15.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.01079, allocations: 29.7 kB / 1.006 GB, free: 15.94 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.01084, allocations: 88.12 kB / 1.006 GB, free: 15.85 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.01085, allocations: 4 kB / 1.006 GB, free: 15.85 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.01089, allocations: 21.66 kB / 1.006 GB, free: 15.82 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.01103, allocations: 314.8 kB / 1.006 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.01105, allocations: 3.984 kB / 1.006 GB, free: 15.5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.607e-05/0.01115, allocations: 99.69 kB / 1.007 GB, free: 15.38 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.646e-05/0.0112, allocations: 26.58 kB / 1.007 GB, free: 15.34 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.01121, allocations: 3.984 kB / 1.007 GB, free: 15.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001638/0.01137, allocations: 49.64 kB / 1.007 GB, free: 15.28 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01139, allocations: 7.938 kB / 1.007 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.0114, allocations: 4 kB / 1.007 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.01142, allocations: 3.938 kB / 1.007 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.0115, allocations: 7.984 kB / 1.007 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01151, allocations: 0 / 1.007 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.01167, allocations: 7.953 kB / 1.007 GB, free: 15.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.01168, allocations: 4 kB / 1.007 GB, free: 15.25 MB / 0.92 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.0001261/0.01181, allocations: 193.6 kB / 1.007 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.01188, allocations: 105.1 kB / 1.007 GB, free: 14.94 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.247e-05/0.01194, allocations: 112.1 kB / 1.007 GB, free: 14.82 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.14e-05/0.01202, allocations: 180.2 kB / 1.007 GB, free: 14.63 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.303e-05/0.01211, allocations: 180.2 kB / 1.007 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.93e-05/0.01218, allocations: 192.2 kB / 1.008 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.01244, allocations: 348.9 kB / 1.008 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.582e-05/0.01249, allocations: 104.9 kB / 1.008 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.01253, allocations: 105 kB / 1.008 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.267e-05/0.01262, allocations: 184.2 kB / 1.008 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/0.01269, allocations: 180.5 kB / 1.008 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-05/0.01278, allocations: 184.3 kB / 1.009 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.886e-05/0.01285, allocations: 188.1 kB / 1.009 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.01303, allocations: 311.8 kB / 1.009 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.01309, allocations: 101 kB / 1.009 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.803e-05/0.01317, allocations: 188.1 kB / 1.009 GB, free: 12.28 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.01327, allocations: 105 kB / 1.01 GB, free: 12.17 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-05/0.01337, allocations: 180.2 kB / 1.01 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.01343, allocations: 108.9 kB / 1.01 GB, free: 11.88 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.505e-05/0.0135, allocations: 83.28 kB / 1.01 GB, free: 11.79 MB / 0.92 GB Notification: Performance of sort global known variables: time 6e-08/0.0135, allocations: 0 / 1.01 GB, free: 11.79 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003559/0.01385, allocations: 51.8 kB / 1.01 GB, free: 11.74 MB / 0.92 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.0008083/0.01466, allocations: 359 kB / 1.01 GB, free: 11.43 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.01477, allocations: 12 kB / 1.01 GB, free: 11.41 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.01477, allocations: 3.938 kB / 1.01 GB, free: 11.41 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-06/0.01478, allocations: 3.984 kB / 1.01 GB, free: 11.41 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.0152, allocations: 453.6 kB / 1.011 GB, free: 10.96 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.01555, allocations: 182.8 kB / 1.011 GB, free: 10.76 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.266e-05/0.01561, allocations: 59.53 kB / 1.011 GB, free: 10.68 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.01564, allocations: 8 kB / 1.011 GB, free: 10.67 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.01566, allocations: 8.5 kB / 1.011 GB, free: 10.66 MB / 0.92 GB Notification: Performance of SimCode: time 8.52e-07/0.01566, allocations: 0 / 1.011 GB, free: 10.66 MB / 0.92 GB Notification: Performance of Templates: time 0.005452/0.02111, allocations: 1.641 MB / 1.013 GB, free: 9.043 MB / 0.92 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: 8.264130763709545]