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.001773/0.001773, allocations: 105.7 kB / 16.45 MB, free: 6.5 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.00218/0.00218, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.524/1.524, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.712/2.712, allocations: 476.7 MB / 0.7672 GB, free: 5.195 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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_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.00202/0.00202, allocations: 63.89 kB / 1.112 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.892/0.894, allocations: 169.9 MB / 1.278 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002399/0.8964, allocations: 1.248 MB / 1.279 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.8975, allocations: 0.7328 MB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.8975, allocations: 3.938 kB / 1.28 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.8975, allocations: 0 / 1.28 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.8978, allocations: 15.94 kB / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.991e-05/0.8978, allocations: 19.91 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.88e-05/0.8979, allocations: 4 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.8979, allocations: 0 / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.198e-05/0.898, allocations: 4 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.8981, allocations: 11.98 kB / 1.28 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.8981, allocations: 0 / 1.28 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.32e-05/0.8982, allocations: 7.984 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.8982, allocations: 3.938 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.8982, allocations: 7.938 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.245e-05/0.8983, allocations: 15.77 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8983, allocations: 0 / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8983, allocations: 4 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.8983, allocations: 4 kB / 1.28 GB, free: 11.33 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.0003773/0.8987, allocations: 317.5 kB / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.8987, allocations: 8.031 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.74e-05/0.8988, allocations: 110 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/0.8989, allocations: 80.17 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.899, allocations: 239.7 kB / 1.281 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.8991, allocations: 158.9 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.8992, allocations: 162.9 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.586e-05/0.8992, allocations: 101.5 kB / 1.281 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/0.8993, allocations: 83.16 kB / 1.282 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.117e-05/0.8993, allocations: 154.5 kB / 1.282 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.943e-05/0.8994, allocations: 150.6 kB / 1.282 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.8995, allocations: 154.6 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.8998, allocations: 449.9 kB / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.03e-05/0.8999, allocations: 165.1 kB / 1.283 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.8999, allocations: 85.8 kB / 1.283 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.8999, allocations: 79.28 kB / 1.283 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.9, allocations: 113.8 kB / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.9, allocations: 0 / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.206e-05/0.9001, allocations: 29.64 kB / 1.283 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.9001, allocations: 126.7 kB / 1.283 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.9002, allocations: 101.8 kB / 1.283 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.9003, allocations: 25.7 kB / 1.283 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.9003, allocations: 88.14 kB / 1.283 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-06/0.9003, allocations: 0 / 1.283 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.9003, allocations: 13.72 kB / 1.283 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.9005, allocations: 310.8 kB / 1.283 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-06/0.9005, allocations: 7.875 kB / 1.283 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/0.9005, allocations: 0 / 1.283 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.464e-05/0.9005, allocations: 75.28 kB / 1.284 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.391e-05/0.9006, allocations: 75.31 kB / 1.284 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.813e-05/0.9006, allocations: 37.69 kB / 1.284 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.9007, allocations: 83.22 kB / 1.284 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.015e-05/0.9007, allocations: 87.22 kB / 1.284 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.857e-05/0.9008, allocations: 150.6 kB / 1.284 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.452e-05/0.9008, allocations: 75.28 kB / 1.284 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-05/0.9009, allocations: 162.5 kB / 1.284 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.901, allocations: 83.28 kB / 1.284 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.901, allocations: 83.2 kB / 1.284 GB, free: 6.941 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 (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.0001304/0.9012, allocations: 260.4 kB / 1.285 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.9012, allocations: 108.9 kB / 1.285 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.9013, allocations: 104.1 kB / 1.285 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.89e-05/0.9014, allocations: 184.2 kB / 1.285 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.453e-05/0.9014, allocations: 184.2 kB / 1.285 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.349e-05/0.9015, allocations: 180.4 kB / 1.285 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.9018, allocations: 405.2 kB / 1.286 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.853e-05/0.9018, allocations: 109 kB / 1.286 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.9019, allocations: 104.9 kB / 1.286 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.606e-05/0.9019, allocations: 184.2 kB / 1.286 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/0.902, allocations: 184.2 kB / 1.286 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.052e-05/0.9021, allocations: 180.3 kB / 1.286 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.901e-05/0.9022, allocations: 180.2 kB / 1.287 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.9023, allocations: 307.8 kB / 1.287 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-05/0.9024, allocations: 190 kB / 1.287 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-05/0.9025, allocations: 188.2 kB / 1.287 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.169e-05/0.9026, allocations: 101 kB / 1.287 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.9027, allocations: 180.2 kB / 1.288 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.9027, allocations: 101 kB / 1.288 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.9028, allocations: 95.44 kB / 1.288 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9028, allocations: 0 / 1.288 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002764/0.9031, allocations: 7.938 kB / 1.288 GB, free: 3.25 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.0006416/0.9037, allocations: 0.8279 MB / 1.289 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.243e-05/0.9038, allocations: 7.984 kB / 1.289 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.9038, allocations: 0 / 1.289 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.9038, allocations: 0 / 1.289 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.9042, allocations: 459.6 kB / 1.289 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.9055, allocations: 1.56 MB / 1.29 GB, free: 304 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.9058, allocations: 0.6767 MB / 1.291 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.892e-05/0.9058, allocations: 0 / 1.291 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.9058, allocations: 15.42 kB / 1.291 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.9058, allocations: 0 / 1.291 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.93, allocations: 1.206 MB / 1.292 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/8.75, allocations: 6.562 kB / 1.292 GB, free: 14.56 MB / 0.9981 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_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_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.csv","/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: 14.831476259045303]