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.001542/0.001542, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001952/0.001952, allocations: 218.9 kB / 22.24 MB, free: 5.258 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.789 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.131/3.131, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",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.002023/0.002023, allocations: 63.11 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4015, allocations: 176.1 MB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002559/0.4041, allocations: 1.256 MB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.4056, allocations: 0.8145 MB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.4056, allocations: 0 / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.704e-05/0.4057, allocations: 0 / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.4059, allocations: 19.91 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.626e-05/0.406, allocations: 4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.325e-05/0.4061, allocations: 4 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.4061, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.463e-05/0.4061, allocations: 11.92 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.4062, allocations: 0 / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.4063, allocations: 0 / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.992e-05/0.4063, allocations: 15.92 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.4064, allocations: 11.98 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.4064, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 8.852e-05/0.4065, allocations: 16.2 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4065, allocations: 3.938 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4065, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.4065, allocations: 0 / 1.328 GB, free: 15.29 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.0003504/0.4068, allocations: 250.4 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4069, allocations: 8.031 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.344e-05/0.4069, allocations: 106 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.407, allocations: 84.22 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.4072, allocations: 181.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/0.4072, allocations: 158.9 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/0.4073, allocations: 158.9 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.86e-05/0.4074, allocations: 105.5 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/0.4074, allocations: 79.22 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.4075, allocations: 154.6 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.148e-05/0.4076, allocations: 150.6 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.246e-05/0.4077, allocations: 150.6 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.408, allocations: 417 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.4081, allocations: 173.1 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.4081, allocations: 84.14 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.4082, allocations: 79.28 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.4082, allocations: 109.8 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.4082, allocations: 0 / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.017e-05/0.4083, allocations: 37.64 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.4084, allocations: 130.6 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4085, allocations: 97.84 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.4085, allocations: 25.7 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.4086, allocations: 88.14 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.4086, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.4086, allocations: 9.719 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4088, allocations: 318.8 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-06/0.4088, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.375e-05/0.4088, allocations: 25.7 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.795e-05/0.4089, allocations: 75.28 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.164e-05/0.4089, allocations: 75.28 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.869e-05/0.4089, allocations: 29.89 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/0.409, allocations: 92.92 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.594e-05/0.4091, allocations: 83.16 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.964e-05/0.4091, allocations: 154.6 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.406e-05/0.4092, allocations: 83.2 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.931e-05/0.4092, allocations: 154.6 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.4094, allocations: 79.31 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.4094, allocations: 83.22 kB / 1.332 GB, free: 11.06 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.0001442/0.4095, allocations: 260.9 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.4096, allocations: 113.1 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.4097, allocations: 108.1 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-05/0.4098, allocations: 180.3 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.139e-05/0.4099, allocations: 180.3 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.053e-05/0.4099, allocations: 184.2 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.4102, allocations: 376.3 kB / 1.333 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.146e-05/0.4103, allocations: 104.9 kB / 1.333 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.4104, allocations: 109 kB / 1.333 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.4105, allocations: 188.1 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.4106, allocations: 180.2 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.626e-05/0.4107, allocations: 180.3 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001293/0.4108, allocations: 188.2 kB / 1.334 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.411, allocations: 303.8 kB / 1.334 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.421e-05/0.4111, allocations: 116.9 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.4112, allocations: 180.2 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.4114, allocations: 108.9 kB / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.4115, allocations: 180.3 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/0.4115, allocations: 104.9 kB / 1.335 GB, free: 7.582 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.874e-05/0.4116, allocations: 87.28 kB / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4116, allocations: 0 / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003276/0.4119, allocations: 4 kB / 1.335 GB, free: 7.492 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.0009102/0.4128, allocations: 0.8194 MB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.738e-05/0.4129, allocations: 4 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4129, allocations: 0 / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-06/0.4129, allocations: 3.938 kB / 1.336 GB, free: 6.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.4134, allocations: 462.2 kB / 1.336 GB, free: 6.184 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.415, allocations: 1.556 MB / 1.338 GB, free: 4.551 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.332e-05/0.4151, allocations: 63.28 kB / 1.338 GB, free: 4.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.4151, allocations: 0 / 1.338 GB, free: 4.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.4152, allocations: 11.44 kB / 1.338 GB, free: 4.457 MB / 1.029 GB Notification: Performance of SimCode: time 1.182e-06/0.4152, allocations: 0 / 1.338 GB, free: 4.457 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.4451, allocations: 1.706 MB / 1.34 GB, free: 2.918 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.39, allocations: 4.531 kB / 1.34 GB, free: 2.918 MB / 1.029 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/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: 18.12771149998298]