Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001956/0.001956, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00236/0.00236, allocations: 217 kB / 22.25 MB, free: 5.082 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.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 3.397/3.397, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_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.002983/0.002983, allocations: 65.38 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.4008, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003221/0.404, allocations: 1.264 MB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.4056, allocations: 0.8067 MB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.4057, allocations: 0 / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.423e-05/0.4057, allocations: 0 / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.406, allocations: 23.91 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.628e-05/0.4061, allocations: 0 / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.731e-05/0.4062, allocations: 11.94 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.4062, allocations: 7.984 kB / 1.355 GB, free: 6.312 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.4063, allocations: 3.984 kB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.4064, allocations: 4 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.4065, allocations: 0 / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.459e-05/0.4065, allocations: 15.98 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.4066, allocations: 3.984 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.4066, allocations: 7.938 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.4067, allocations: 12.22 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4067, allocations: 4 kB / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4067, allocations: 0 / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.4067, allocations: 0 / 1.355 GB, free: 6.262 MB / 1.045 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.0003918/0.4071, allocations: 248.4 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4072, allocations: 8.031 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.462e-05/0.4072, allocations: 110 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.427e-05/0.4073, allocations: 84.22 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.4075, allocations: 181.8 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.518e-05/0.4076, allocations: 154.9 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.4077, allocations: 154.9 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.212e-05/0.4077, allocations: 105.5 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/0.4078, allocations: 79.22 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/0.4078, allocations: 150.6 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.965e-05/0.4079, allocations: 158.6 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.408, allocations: 158.4 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.4083, allocations: 417 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.4084, allocations: 181.1 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.4085, allocations: 84.14 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.4085, allocations: 79.28 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.4086, allocations: 105.8 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4086, allocations: 0 / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.85e-05/0.4087, allocations: 33.58 kB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.238e-05/0.4088, allocations: 126.7 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.409, allocations: 109.8 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.409, allocations: 25.7 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.409, allocations: 84.12 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.409, allocations: 0 / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.4091, allocations: 13.72 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4092, allocations: 318.8 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-06/0.4092, allocations: 0 / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.635e-05/0.4092, allocations: 0 / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.697e-05/0.4093, allocations: 75.28 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.312e-05/0.4093, allocations: 83.31 kB / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.848e-05/0.4094, allocations: 29.64 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/0.4094, allocations: 87.22 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.76e-05/0.4095, allocations: 75.28 kB / 1.358 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.114e-05/0.4096, allocations: 154.5 kB / 1.358 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.531e-05/0.4096, allocations: 75.84 kB / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-05/0.4097, allocations: 162.5 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.4098, allocations: 83.22 kB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.4099, allocations: 75.28 kB / 1.359 GB, free: 2.066 MB / 1.045 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.0001533/0.41, allocations: 264.3 kB / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.4101, allocations: 113 kB / 1.359 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.376e-05/0.4102, allocations: 108.1 kB / 1.359 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/0.4103, allocations: 192.3 kB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.771e-05/0.4104, allocations: 180.2 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.54e-05/0.4105, allocations: 176.3 kB / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.4107, allocations: 380.2 kB / 1.36 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-05/0.4108, allocations: 105 kB / 1.36 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/0.4108, allocations: 105 kB / 1.36 GB, free: 376 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.312e-05/0.4109, allocations: 192.1 kB / 1.361 GB, free: 176 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.4111, allocations: 180.2 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.903e-05/0.4111, allocations: 180.2 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.723e-05/0.4112, allocations: 176.3 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.4114, allocations: 307.8 kB / 1.361 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.4115, allocations: 109 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.721e-05/0.4116, allocations: 184.1 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.4117, allocations: 109 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.4117, allocations: 188.1 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.4118, allocations: 109 kB / 1.362 GB, free: 14.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.973e-05/0.4119, allocations: 79.28 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4119, allocations: 0 / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002959/0.4121, allocations: 0 / 1.362 GB, free: 14.5 MB / 1.061 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.0007138/0.4129, allocations: 0.8243 MB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.946e-05/0.4129, allocations: 4 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4129, allocations: 0 / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4129, allocations: 0 / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.4133, allocations: 459.7 kB / 1.363 GB, free: 13.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.4148, allocations: 1.556 MB / 1.365 GB, free: 11.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.4151, allocations: 0.6729 MB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.4151, allocations: 4.031 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.4151, allocations: 15.42 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of SimCode: time 6.02e-07/0.4151, allocations: 3.938 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.4455, allocations: 1.263 MB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.49, allocations: 0 / 1.367 GB, free: 9.742 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.719628871884197]