Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001458/0.001458, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001674/0.001674, allocations: 219.1 kB / 22.26 MB, free: 5.125 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.988 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.351/3.351, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.002343/0.002343, allocations: 71.19 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4057, allocations: 180.2 MB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002534/0.4082, allocations: 1.292 MB / 1.354 GB, free: 7.184 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.4095, allocations: 0.8184 MB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.4095, allocations: 0 / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.4095, allocations: 0 / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.4097, allocations: 23.91 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.4099, allocations: 50.94 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.402e-05/0.41, allocations: 23.92 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.4101, allocations: 7.938 kB / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.623e-05/0.4101, allocations: 19.91 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.4102, allocations: 4 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.4103, allocations: 0 / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.945e-05/0.4103, allocations: 11.98 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.4104, allocations: 11.98 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.4104, allocations: 7.938 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.575e-05/0.4105, allocations: 24.12 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4105, allocations: 4 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4105, allocations: 0 / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.4105, allocations: 0 / 1.355 GB, free: 6.18 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.0003309/0.4108, allocations: 250.4 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.4109, allocations: 12.02 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.925e-05/0.4109, allocations: 106 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.411, allocations: 88.16 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.4111, allocations: 189.7 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.472e-05/0.4112, allocations: 154.9 kB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.4113, allocations: 150.9 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.62e-05/0.4114, allocations: 105.5 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/0.4114, allocations: 79.22 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/0.4115, allocations: 154.6 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.899e-05/0.4115, allocations: 150.6 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.768e-05/0.4116, allocations: 158.5 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.4119, allocations: 421 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.412, allocations: 173.1 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.4121, allocations: 80.14 kB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.4121, allocations: 75.28 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/0.4122, allocations: 109.8 kB / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.4122, allocations: 0 / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.832e-05/0.4122, allocations: 37.58 kB / 1.357 GB, free: 3.586 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.4123, allocations: 130.7 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.4124, allocations: 105.8 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.4125, allocations: 25.7 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.4125, allocations: 84.14 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.4125, allocations: 0 / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.4126, allocations: 17.72 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4127, allocations: 314.8 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.4127, allocations: 4 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.4127, allocations: 12 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/0.4128, allocations: 16.84 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4128, allocations: 7.875 kB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001148/0.4129, allocations: 41.66 kB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4129, allocations: 13.44 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4129, allocations: 0 / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.4129, allocations: 0 / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.035e-06/0.4129, allocations: 3.984 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.413, allocations: 8.375 kB / 1.358 GB, free: 2.762 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.334e-05/0.413, allocations: 0 / 1.358 GB, free: 2.762 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.413, allocations: 7.984 kB / 1.358 GB, free: 2.754 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001193/0.4132, allocations: 197.7 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.4132, allocations: 108.9 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.4133, allocations: 112.4 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.179e-05/0.4134, allocations: 176.3 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.646e-05/0.4134, allocations: 184.8 kB / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.878e-05/0.4135, allocations: 176.3 kB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.4138, allocations: 380.2 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.189e-05/0.4138, allocations: 101 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.4138, allocations: 105 kB / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.053e-05/0.4139, allocations: 196.3 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.788e-05/0.414, allocations: 184.3 kB / 1.36 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.058e-05/0.4141, allocations: 180.2 kB / 1.36 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.657e-05/0.4141, allocations: 180.3 kB / 1.36 GB, free: 388 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.4143, allocations: 311.8 kB / 1.361 GB, free: 52 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.4144, allocations: 101 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.152e-05/0.4145, allocations: 188.1 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.4146, allocations: 101 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.4146, allocations: 176.3 kB / 1.361 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.4147, allocations: 112.9 kB / 1.361 GB, free: 15.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.193e-05/0.4147, allocations: 87.28 kB / 1.361 GB, free: 15.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4147, allocations: 0 / 1.361 GB, free: 15.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002263/0.415, allocations: 4 kB / 1.361 GB, free: 15.26 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.000684/0.4156, allocations: 0.8224 MB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.739e-05/0.4157, allocations: 7.938 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4157, allocations: 0 / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.265e-06/0.4157, allocations: 0 / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.4161, allocations: 463.6 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.4173, allocations: 1.295 MB / 1.364 GB, free: 12.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.4176, allocations: 0.6768 MB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.166e-05/0.4176, allocations: 0 / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.4177, allocations: 7.438 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.4177, allocations: 0 / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.45, allocations: 1.352 MB / 1.366 GB, free: 10.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.3, allocations: 12.72 kB / 1.366 GB, free: 10.64 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.598928407998756]