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.001727/0.001727, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002156/0.002156, allocations: 212.8 kB / 22.24 MB, free: 5.242 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.793 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.32/3.32, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.002791/0.002791, allocations: 72.61 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3779, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003016/0.381, allocations: 1.266 MB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3825, allocations: 0.8067 MB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.3825, allocations: 4 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.042e-05/0.3826, allocations: 0 / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.3829, allocations: 15.92 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.265e-05/0.3829, allocations: 3.984 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.383, allocations: 11.94 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.3831, allocations: 3.984 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.62e-05/0.3831, allocations: 4 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.3835, allocations: 7.984 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.3835, allocations: 0 / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.143e-05/0.3836, allocations: 8 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.3836, allocations: 8 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.3837, allocations: 7.922 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.3838, allocations: 16.2 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3838, allocations: 0 / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3838, allocations: 0 / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.3838, allocations: 0 / 1.366 GB, free: 11.88 MB / 1.061 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.0004304/0.3842, allocations: 246.4 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3843, allocations: 15.97 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.826e-05/0.3844, allocations: 106 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.674e-05/0.3845, allocations: 76.22 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.3847, allocations: 185.8 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.221e-05/0.3848, allocations: 154.9 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/0.3848, allocations: 154.9 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.201e-05/0.3849, allocations: 105.5 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/0.385, allocations: 79.22 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.154e-05/0.3851, allocations: 150.6 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.878e-05/0.3851, allocations: 154.6 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.213e-05/0.3852, allocations: 154.5 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.3856, allocations: 425 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.3857, allocations: 165.2 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.3857, allocations: 84.14 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.3857, allocations: 79.28 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.94e-05/0.3858, allocations: 109.8 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.3858, allocations: 3.938 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001293/0.3859, allocations: 37.53 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.386, allocations: 134.7 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3861, allocations: 97.84 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.3861, allocations: 25.7 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.3862, allocations: 88.14 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.3862, allocations: 1.062 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.3862, allocations: 13.72 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3864, allocations: 310.8 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-06/0.3864, allocations: 0 / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.3864, allocations: 33.69 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.3864, allocations: 75.28 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.856e-05/0.3865, allocations: 79.22 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.174e-05/0.3865, allocations: 29.7 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/0.3866, allocations: 83.22 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.773e-05/0.3866, allocations: 79.28 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-05/0.3867, allocations: 162.5 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.569e-05/0.3868, allocations: 75.28 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-05/0.3868, allocations: 154.5 kB / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.387, allocations: 83.27 kB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.387, allocations: 75.28 kB / 1.369 GB, free: 7.656 MB / 1.061 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.0001409/0.3871, allocations: 260.4 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.3872, allocations: 109 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.3873, allocations: 112.1 kB / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.891e-05/0.3874, allocations: 188.2 kB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.01e-05/0.3874, allocations: 176.3 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-05/0.3875, allocations: 184.5 kB / 1.37 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.3878, allocations: 384.2 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.831e-05/0.3878, allocations: 101 kB / 1.371 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.3879, allocations: 108.9 kB / 1.371 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-05/0.388, allocations: 180.2 kB / 1.371 GB, free: 5.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.707e-05/0.3881, allocations: 180.3 kB / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.363e-05/0.3882, allocations: 180.2 kB / 1.371 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.088e-05/0.3883, allocations: 188.2 kB / 1.372 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.3884, allocations: 299.8 kB / 1.372 GB, free: 4.895 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.3885, allocations: 109 kB / 1.372 GB, free: 4.781 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/0.3886, allocations: 200.1 kB / 1.372 GB, free: 4.578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.3887, allocations: 101 kB / 1.372 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.3888, allocations: 180.2 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.3888, allocations: 105 kB / 1.373 GB, free: 4.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.3889, allocations: 87.27 kB / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3889, allocations: 0 / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002618/0.3892, allocations: 0 / 1.373 GB, free: 4.094 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.0007361/0.3899, allocations: 0.828 MB / 1.373 GB, free: 3.234 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.556e-05/0.3899, allocations: 12 kB / 1.374 GB, free: 3.223 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3899, allocations: 0 / 1.374 GB, free: 3.223 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.3899, allocations: 0 / 1.374 GB, free: 3.223 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.3903, allocations: 455.7 kB / 1.374 GB, free: 2.773 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.392, allocations: 1.552 MB / 1.375 GB, free: 1.145 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.473e-05/0.392, allocations: 59.3 kB / 1.376 GB, free: 1.066 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.899e-05/0.392, allocations: 4 kB / 1.376 GB, free: 1.062 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.3921, allocations: 11.42 kB / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3921, allocations: 0 / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.4226, allocations: 1.684 MB / 1.377 GB, free: 15.54 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.35, allocations: 2.703 kB / 1.377 GB, free: 15.54 MB / 1.076 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.476178782992065]