Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001642/0.001642, allocations: 116.1 kB / 17.17 MB, free: 6 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.002065/0.002065, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.558/1.558, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.817/2.817, allocations: 476.7 MB / 0.7678 GB, free: 9.398 MB / 0.6075 GB " [Timeout remaining time 176] 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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="cs",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.002083/0.002083, allocations: 63.91 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.974/0.9761, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002878/0.9789, allocations: 1.264 MB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.9803, allocations: 0.7319 MB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.9803, allocations: 0 / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.247e-05/0.9804, allocations: 1.797 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.9806, allocations: 15 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.9e-05/0.9807, allocations: 10.94 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.441e-05/0.9808, allocations: 12.77 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.9809, allocations: 2.562 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.595e-05/0.9809, allocations: 3.094 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.981, allocations: 4.547 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.981, allocations: 1 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.755e-05/0.9811, allocations: 8.891 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.9811, allocations: 12.2 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.9812, allocations: 1.734 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.858e-05/0.9813, allocations: 16.3 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9813, allocations: 4 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9813, allocations: 0 / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.9813, allocations: 1.062 kB / 1.281 GB, free: 10.29 MB / 0.9981 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.0004155/0.9817, allocations: 319.3 kB / 1.281 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.9817, allocations: 10.06 kB / 1.281 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.391e-05/0.9818, allocations: 79.41 kB / 1.281 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.047e-05/0.9819, allocations: 107.8 kB / 1.281 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.9819, allocations: 89.2 kB / 1.282 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.9821, allocations: 239.4 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.599e-05/0.9822, allocations: 156.2 kB / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.693e-05/0.9823, allocations: 152.1 kB / 1.282 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.034e-05/0.9824, allocations: 109.9 kB / 1.282 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.62e-05/0.9824, allocations: 76.03 kB / 1.282 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.347e-05/0.9825, allocations: 155.4 kB / 1.282 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.96e-05/0.9826, allocations: 151.6 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.746e-05/0.9826, allocations: 155.6 kB / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.983, allocations: 446.7 kB / 1.283 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.9831, allocations: 170.8 kB / 1.283 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.9831, allocations: 80.14 kB / 1.283 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/0.9832, allocations: 75.28 kB / 1.283 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/0.9833, allocations: 115.5 kB / 1.284 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.9833, allocations: 0 / 1.284 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.416e-05/0.9833, allocations: 27.97 kB / 1.284 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/0.9834, allocations: 132 kB / 1.284 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.9836, allocations: 106.3 kB / 1.284 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.9836, allocations: 25.7 kB / 1.284 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.9836, allocations: 81.94 kB / 1.284 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.9837, allocations: 0 / 1.284 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.9837, allocations: 15.91 kB / 1.284 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.9838, allocations: 313.1 kB / 1.284 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-06/0.9839, allocations: 0 / 1.284 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.9839, allocations: 5.797 kB / 1.284 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.9839, allocations: 76.41 kB / 1.284 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.409e-05/0.9839, allocations: 79.22 kB / 1.284 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.568e-05/0.984, allocations: 34.27 kB / 1.284 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/0.9841, allocations: 84.25 kB / 1.284 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.832e-05/0.9841, allocations: 76.98 kB / 1.285 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.569e-05/0.9842, allocations: 156.4 kB / 1.285 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.762e-05/0.9842, allocations: 80.78 kB / 1.285 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.859e-05/0.9843, allocations: 164.3 kB / 1.285 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.9845, allocations: 77.16 kB / 1.285 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.9845, allocations: 77 kB / 1.285 GB, free: 5.91 MB / 0.9981 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.0001548/0.9847, allocations: 260 kB / 1.285 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.9848, allocations: 114.9 kB / 1.285 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.508e-05/0.9848, allocations: 111.4 kB / 1.286 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000102/0.9849, allocations: 185.2 kB / 1.286 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.874e-05/0.985, allocations: 178.5 kB / 1.286 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-05/0.9851, allocations: 177.4 kB / 1.286 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.9854, allocations: 407 kB / 1.286 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.576e-05/0.9855, allocations: 113.8 kB / 1.287 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.9855, allocations: 106.8 kB / 1.287 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.395e-05/0.9856, allocations: 182 kB / 1.287 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.562e-05/0.9857, allocations: 178 kB / 1.287 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.646e-05/0.9858, allocations: 181.8 kB / 1.287 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-05/0.9859, allocations: 181.9 kB / 1.287 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.9861, allocations: 309.8 kB / 1.288 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.9862, allocations: 185.5 kB / 1.288 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.882e-05/0.9863, allocations: 185.6 kB / 1.288 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.9864, allocations: 103.2 kB / 1.288 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.9865, allocations: 185.8 kB / 1.288 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.9865, allocations: 102.8 kB / 1.288 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.221e-05/0.9866, allocations: 79.92 kB / 1.288 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9866, allocations: 1.281 kB / 1.288 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002791/0.9869, allocations: 5.953 kB / 1.288 GB, free: 2.273 MB / 0.9981 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.0007264/0.9876, allocations: 0.8284 MB / 1.289 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.279e-05/0.9876, allocations: 1.125 kB / 1.289 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.9876, allocations: 1 kB / 1.289 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.9876, allocations: 4 kB / 1.289 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.988, allocations: 460 kB / 1.29 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.9896, allocations: 1.556 MB / 1.291 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.9899, allocations: 0.6799 MB / 1.292 GB, free: 14.72 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.9899, allocations: 2.031 kB / 1.292 GB, free: 14.72 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.9899, allocations: 13.55 kB / 1.292 GB, free: 14.71 MB / 1.014 GB Notification: Performance of SimCode: time 7.72e-07/0.9899, allocations: 0 / 1.292 GB, free: 14.71 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/1.017, allocations: 1.26 MB / 1.293 GB, free: 14.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.668/9.685, allocations: 9.766 kB / 1.293 GB, free: 14.36 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.021506251010578]