Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.001951/0.001951, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002719/0.002719, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.437/3.437, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [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.002156/0.002156, allocations: 68.47 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4067, allocations: 176.1 MB / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002733/0.4094, allocations: 1.262 MB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.4109, allocations: 0.8028 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.4109, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.541e-05/0.4109, allocations: 3.938 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.4112, allocations: 19.91 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.211e-05/0.4113, allocations: 7.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.556e-05/0.4113, allocations: 4 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.4114, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.26e-05/0.4114, allocations: 8 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.4115, allocations: 11.98 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.4115, allocations: 0 / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.272e-05/0.4116, allocations: 7.984 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.4116, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.4116, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.275e-05/0.4117, allocations: 23.8 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.4117, allocations: 3.984 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4117, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.4118, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 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.0003581/0.4121, allocations: 242.4 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4121, allocations: 16.03 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.231e-05/0.4122, allocations: 76.22 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.4124, allocations: 189.8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.202e-05/0.4125, allocations: 150.9 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/0.4126, allocations: 150.9 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.865e-05/0.4127, allocations: 105.5 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/0.4127, allocations: 79.47 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.4128, allocations: 154.5 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.723e-05/0.4129, allocations: 150.6 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.191e-05/0.413, allocations: 154.5 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.4133, allocations: 397.6 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.4134, allocations: 173.1 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.4135, allocations: 88.19 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-05/0.4135, allocations: 75.28 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.55e-05/0.4136, allocations: 109.8 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.4136, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.403e-05/0.4137, allocations: 33.64 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.4137, allocations: 126.7 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.4139, allocations: 97.86 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.4139, allocations: 25.7 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.4139, allocations: 84.27 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.414, allocations: 0 / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.414, allocations: 17.7 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.4142, allocations: 310.8 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.119e-06/0.4142, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/0.4142, allocations: 25.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.824e-05/0.4143, allocations: 87.22 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.383e-05/0.4143, allocations: 79.22 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.655e-05/0.4144, allocations: 25.7 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.4144, allocations: 83.28 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.922e-05/0.4145, allocations: 75.28 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.661e-05/0.4146, allocations: 166.5 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.777e-05/0.4146, allocations: 79.28 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.501e-05/0.4147, allocations: 154.5 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.4148, allocations: 79.28 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.4149, allocations: 79.28 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001565/0.415, allocations: 264.9 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.4151, allocations: 108.9 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.702e-05/0.4152, allocations: 104.3 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001009/0.4153, allocations: 192.2 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.144e-05/0.4154, allocations: 176.3 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.908e-05/0.4154, allocations: 188.2 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.4157, allocations: 360.8 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-05/0.4157, allocations: 101 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.4158, allocations: 108.9 kB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.229e-05/0.4159, allocations: 176.3 kB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.089e-05/0.416, allocations: 184.2 kB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.976e-05/0.4161, allocations: 184.2 kB / 1.333 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.075e-05/0.4162, allocations: 180.2 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.4164, allocations: 303.8 kB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.4164, allocations: 109 kB / 1.334 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.634e-05/0.4165, allocations: 180.2 kB / 1.334 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.4166, allocations: 105 kB / 1.334 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.4168, allocations: 192.1 kB / 1.334 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/0.4168, allocations: 101 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.639e-05/0.4169, allocations: 87.27 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4169, allocations: 0 / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002644/0.4172, allocations: 3.938 kB / 1.335 GB, free: 8.051 MB / 1.029 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.0004366/0.4176, allocations: 190 kB / 1.335 GB, free: 7.855 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.618e-05/0.4177, allocations: 7.938 kB / 1.335 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4177, allocations: 0 / 1.335 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.4177, allocations: 3.938 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.4181, allocations: 452.9 kB / 1.335 GB, free: 7.398 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.4185, allocations: 170.3 kB / 1.335 GB, free: 7.207 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.177e-05/0.4185, allocations: 55.36 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.56e-05/0.4185, allocations: 0 / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.4186, allocations: 15.42 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4186, allocations: 0 / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of Templates: time 0.00289/0.4214, allocations: 330.3 kB / 1.336 GB, free: 6.832 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.638844652101398]