Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001614/0.001614, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002289/0.002289, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.864/2.864, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="cs",version="2.0",platforms={"static"}) [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.002069/0.002069, allocations: 62.89 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4063, allocations: 170 MB / 1.284 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002495/0.4088, allocations: 1.263 MB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.4101, allocations: 0.8025 MB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.4101, allocations: 4 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.441e-05/0.4101, allocations: 3.938 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.4104, allocations: 15.98 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.968e-05/0.4105, allocations: 7.938 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.889e-05/0.4105, allocations: 7.984 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.4106, allocations: 0 / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.186e-05/0.4106, allocations: 4 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.4107, allocations: 15.92 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.4108, allocations: 3.984 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.492e-05/0.4108, allocations: 7.938 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.4109, allocations: 8 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.4109, allocations: 0 / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.227e-05/0.411, allocations: 15.77 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.411, allocations: 4 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/0.411, allocations: 0 / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.411, allocations: 3.938 kB / 1.286 GB, free: 9.379 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.0003571/0.4113, allocations: 246.5 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4114, allocations: 12.03 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.369e-05/0.4114, allocations: 79.47 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.235e-05/0.4115, allocations: 106 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.793e-05/0.4116, allocations: 80.22 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.4117, allocations: 193.8 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/0.4118, allocations: 150.9 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.4119, allocations: 150.9 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.16e-05/0.412, allocations: 115.1 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.412, allocations: 79.28 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.4121, allocations: 150.6 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.007e-05/0.4121, allocations: 150.6 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.705e-05/0.4122, allocations: 150.6 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.4125, allocations: 425 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.4126, allocations: 173.1 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.4127, allocations: 80.14 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.4127, allocations: 75.28 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/0.4128, allocations: 109.8 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.4128, allocations: 4 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.026e-05/0.4128, allocations: 33.69 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.4129, allocations: 130.6 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.413, allocations: 101.8 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.413, allocations: 25.7 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.4131, allocations: 84.14 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/0.4131, allocations: 0 / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.4131, allocations: 9.766 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4133, allocations: 318.8 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-06/0.4133, allocations: 4 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.4133, allocations: 4 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.4133, allocations: 75.28 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-05/0.4133, allocations: 75.28 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.502e-05/0.4134, allocations: 33.69 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.4135, allocations: 83.22 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/0.4135, allocations: 79.22 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-05/0.4136, allocations: 162.5 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.085e-05/0.4136, allocations: 79.22 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.555e-05/0.4137, allocations: 150.6 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.4138, allocations: 83.27 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.4138, allocations: 83.22 kB / 1.29 GB, free: 5.113 MB / 0.9825 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.0001521/0.414, allocations: 262.5 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.4141, allocations: 108.9 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.4141, allocations: 108.1 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.989e-05/0.4142, allocations: 180.2 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-05/0.4143, allocations: 180.5 kB / 1.291 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.978e-05/0.4144, allocations: 188.2 kB / 1.291 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.4146, allocations: 372.3 kB / 1.292 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.563e-05/0.4146, allocations: 108.9 kB / 1.292 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.4147, allocations: 108.9 kB / 1.292 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-05/0.4148, allocations: 184.2 kB / 1.292 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.866e-05/0.4148, allocations: 180.2 kB / 1.292 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.017e-05/0.4149, allocations: 184.3 kB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-05/0.415, allocations: 184.2 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.4152, allocations: 303.8 kB / 1.293 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.4152, allocations: 116.8 kB / 1.293 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.232e-05/0.4153, allocations: 184.3 kB / 1.293 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.4154, allocations: 104.9 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.4155, allocations: 180.3 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.4156, allocations: 101 kB / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.4156, allocations: 87.2 kB / 1.293 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4156, allocations: 0 / 1.293 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002874/0.4159, allocations: 4 kB / 1.293 GB, free: 1.562 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.0006574/0.4166, allocations: 0.8191 MB / 1.294 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.595e-05/0.4166, allocations: 3.984 kB / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4166, allocations: 0 / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-06/0.4166, allocations: 7.938 kB / 1.294 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.417, allocations: 459.7 kB / 1.295 GB, free: 256 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.4184, allocations: 1.564 MB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.4187, allocations: 0.669 MB / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.4187, allocations: 7.938 kB / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.4188, allocations: 15.52 kB / 1.297 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.4188, allocations: 0 / 1.297 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.4426, allocations: 1.291 MB / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.36, allocations: 8.547 kB / 1.298 GB, free: 12.78 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.30602814402664]