Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001759/0.001759, allocations: 107.1 kB / 16.45 MB, free: 6.508 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.002413/0.002413, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.446/1.446, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.701/2.701, allocations: 476.7 MB / 0.7672 GB, free: 5.266 MB / 0.6231 GB " [Timeout remaining time 177] 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.GetTimeSpanTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_11_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.002072/0.002072, allocations: 71.91 kB / 1.112 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8484/0.8505, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002812/0.8533, allocations: 1.286 MB / 1.28 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.8546, allocations: 0.7427 MB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.8546, allocations: 0 / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.8547, allocations: 0 / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.8549, allocations: 15.92 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.8551, allocations: 42.42 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.903e-05/0.8552, allocations: 23.92 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.8553, allocations: 7.984 kB / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.8553, allocations: 12 kB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.8555, allocations: 19.84 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.8555, allocations: 0 / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.599e-05/0.8556, allocations: 12 kB / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.8556, allocations: 0 / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.8557, allocations: 19.84 kB / 1.28 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.8558, allocations: 19.78 kB / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.8558, allocations: 0 / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8558, allocations: 0 / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.8558, allocations: 3.938 kB / 1.28 GB, free: 11.22 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.0004139/0.8562, allocations: 333.4 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.8563, allocations: 8.031 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.819e-05/0.8563, allocations: 106 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.668e-05/0.8564, allocations: 80.22 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.8566, allocations: 235.7 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.006e-05/0.8567, allocations: 154.9 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.8568, allocations: 162.9 kB / 1.281 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.072e-05/0.8569, allocations: 109.5 kB / 1.282 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/0.8569, allocations: 79.22 kB / 1.282 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.265e-05/0.857, allocations: 150.6 kB / 1.282 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-05/0.857, allocations: 150.6 kB / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.246e-05/0.8571, allocations: 150.6 kB / 1.282 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.8575, allocations: 453.9 kB / 1.282 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.8576, allocations: 169.1 kB / 1.283 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.8576, allocations: 89.86 kB / 1.283 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.8577, allocations: 75.28 kB / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.971e-05/0.8577, allocations: 109.8 kB / 1.283 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.8577, allocations: 0 / 1.283 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.346e-05/0.8578, allocations: 33.59 kB / 1.283 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.8579, allocations: 134.6 kB / 1.283 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.858, allocations: 106 kB / 1.283 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.858, allocations: 25.7 kB / 1.283 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.8581, allocations: 80.14 kB / 1.283 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.8581, allocations: 0 / 1.283 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.8582, allocations: 25.7 kB / 1.283 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.8583, allocations: 310.8 kB / 1.284 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.8583, allocations: 4 kB / 1.284 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.8584, allocations: 16.05 kB / 1.284 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/0.8584, allocations: 16.86 kB / 1.284 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8584, allocations: 0 / 1.284 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001348/0.8586, allocations: 41.62 kB / 1.284 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.8586, allocations: 16.06 kB / 1.284 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.8586, allocations: 0 / 1.284 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.8586, allocations: 0 / 1.284 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.8586, allocations: 3.938 kB / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8586, allocations: 0 / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.8587, allocations: 7.938 kB / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.8587, allocations: 0 / 1.284 GB, free: 7.613 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 (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.0001388/0.8589, allocations: 191.8 kB / 1.284 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-05/0.8589, allocations: 120.9 kB / 1.284 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.757e-05/0.859, allocations: 108.5 kB / 1.284 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001029/0.8591, allocations: 180.3 kB / 1.284 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001105/0.8592, allocations: 184.2 kB / 1.284 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.242e-05/0.8593, allocations: 180.2 kB / 1.285 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.8596, allocations: 413.2 kB / 1.285 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.626e-05/0.8596, allocations: 104.9 kB / 1.285 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.8597, allocations: 101 kB / 1.285 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.358e-05/0.8598, allocations: 180.2 kB / 1.285 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-05/0.8599, allocations: 188.2 kB / 1.286 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.689e-05/0.8599, allocations: 176.3 kB / 1.286 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-05/0.86, allocations: 188.4 kB / 1.286 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.8602, allocations: 307.8 kB / 1.286 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.8603, allocations: 182.1 kB / 1.286 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.36e-05/0.8604, allocations: 184.2 kB / 1.287 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/0.8605, allocations: 104.9 kB / 1.287 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/0.8606, allocations: 180.3 kB / 1.287 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.8606, allocations: 112.9 kB / 1.287 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.193e-05/0.8607, allocations: 91.27 kB / 1.287 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8607, allocations: 0 / 1.287 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002476/0.8609, allocations: 4 kB / 1.287 GB, free: 3.977 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.0006882/0.8616, allocations: 0.8165 MB / 1.288 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.12e-05/0.8617, allocations: 7.984 kB / 1.288 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8617, allocations: 0 / 1.288 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.8617, allocations: 3.938 kB / 1.288 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.8621, allocations: 465.8 kB / 1.288 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.8633, allocations: 1.291 MB / 1.29 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.8636, allocations: 0.6767 MB / 1.29 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.556e-05/0.8636, allocations: 11.92 kB / 1.29 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.8636, allocations: 7.438 kB / 1.29 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.8636, allocations: 0 / 1.29 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.8904, allocations: 1.292 MB / 1.291 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.81, allocations: 16.78 kB / 1.292 GB, free: 15.42 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.862187509890646]